change severity for 'unknown macro' to error for now.
This commit is contained in:
parent
152be6df63
commit
d97851b9db
|
@ -451,7 +451,7 @@ unsigned int CppCheck::checkFile(const std::string& filename, const std::string
|
||||||
locationList.push_back(loc);
|
locationList.push_back(loc);
|
||||||
ErrorLogger::ErrorMessage errmsg(locationList,
|
ErrorLogger::ErrorMessage errmsg(locationList,
|
||||||
mTokenizer.list.getSourceFilePath(),
|
mTokenizer.list.getSourceFilePath(),
|
||||||
e.type == InternalError::UNKNOWN_MACRO ? Severity::information : Severity::error,
|
Severity::error,
|
||||||
e.errorMessage,
|
e.errorMessage,
|
||||||
e.id,
|
e.id,
|
||||||
false);
|
false);
|
||||||
|
|
Loading…
Reference in New Issue