Fix two cases of redefinition and hiding of local variables (#46)

This commit is contained in:
Christian Spanier
2022-11-14 07:04:53 +01:00
committed by GitHub
parent bd347f048a
commit 89d8033fed

View File

@ -149,11 +149,11 @@ boost
if( f ) if( f )
{ {
tmp << *f; tmp << *f;
if( int const * l=get_error_info<throw_line>(*be) ) if( l )
tmp << '(' << *l << "): "; tmp << '(' << *l << "): ";
} }
tmp << "Throw in function "; tmp << "Throw in function ";
if( char const * const * fn=get_error_info<throw_function>(*be) ) if( fn )
tmp << *fn; tmp << *fn;
else else
tmp << "(unknown)"; tmp << "(unknown)";