diff --git a/cli/threadexecutor.cpp b/cli/threadexecutor.cpp index 16b1a53ee..18acb6926 100644 --- a/cli/threadexecutor.cpp +++ b/cli/threadexecutor.cpp @@ -288,6 +288,7 @@ unsigned int ThreadExecutor::check() std::list locations; locations.push_back(ErrorLogger::ErrorMessage::FileLocation(childname, 0)); const ErrorLogger::ErrorMessage errmsg(locations, + emptyString, Severity::error, oss.str(), "cppcheckError", diff --git a/lib/checkinternal.cpp b/lib/checkinternal.cpp index 6220750c4..fcc8bf79f 100644 --- a/lib/checkinternal.cpp +++ b/lib/checkinternal.cpp @@ -154,21 +154,21 @@ void CheckInternal::checkTokenSimpleMatchPatterns() namespace { const std::set knownPatterns = make_container< std::set > () - << "%any%" - << "%assign%" - << "%bool%" - << "%char%" - << "%comp%" - << "%num%" - << "%op%" - << "%cop%" - << "%or%" - << "%oror%" - << "%str%" - << "%type%" - << "%name%" - << "%var%" - << "%varid%"; + << "%any%" + << "%assign%" + << "%bool%" + << "%char%" + << "%comp%" + << "%num%" + << "%op%" + << "%cop%" + << "%or%" + << "%oror%" + << "%str%" + << "%type%" + << "%name%" + << "%var%" + << "%varid%"; } void CheckInternal::checkMissingPercentCharacter()