Allow suppression of the 'cppcheckError' error reported by the threaded CLI executor.

This is related to commit 5bbf39d094.
This commit is contained in:
Greg Hewgill 2011-05-22 20:43:38 +12:00
parent 52499ca8f8
commit 4cc13f497d
1 changed files with 3 additions and 1 deletions

View File

@ -282,7 +282,9 @@ unsigned int ThreadExecutor::check()
oss.str(),
"cppcheckError",
false);
_errorLogger.reportErr(errmsg);
if (!_settings.nomsg.isSuppressed(errmsg._id, childname, 0))
_errorLogger.reportErr(errmsg);
}
}
}