Bail out text is now not printed with --quiet option

This commit is contained in:
Reijo Tomperi 2008-12-28 20:13:03 +00:00
parent 76239fcdf9
commit ec32e071b5
1 changed files with 3 additions and 1 deletions

View File

@ -173,7 +173,9 @@ void CppCheck::check()
// was used.
if( !_settings._force && checkCount > 11 )
{
_errorLogger->reportErr( std::string( "Bailing out from checking " ) + fname + ": Too many configurations. Recheck this file with --force if you want to check them all." );
if( _settings._errorsOnly == false )
_errorLogger->reportOut( std::string( "Bailing out from checking " ) + fname + ": Too many configurations. Recheck this file with --force if you want to check them all." );
break;
}