Merge pull request #844 from zingsheim/Fix7789MissingErrorMessages
Fix #7789 (Missing error messages in repeated check on compile_comman…
This commit is contained in:
commit
da956a5278
|
@ -84,7 +84,7 @@ unsigned int CppCheck::check(const std::string &path, const std::string &content
|
|||
|
||||
unsigned int CppCheck::check(const ImportProject::FileSettings &fs)
|
||||
{
|
||||
CppCheck temp(*this, _useGlobalSuppressions);
|
||||
CppCheck temp(_errorLogger, _useGlobalSuppressions);
|
||||
temp._settings = _settings;
|
||||
temp._settings.userDefines = fs.defines;
|
||||
temp._settings.includePaths = fs.includePaths;
|
||||
|
|
Loading…
Reference in New Issue