Merge pull request #844 from zingsheim/Fix7789MissingErrorMessages

Fix #7789 (Missing error messages in repeated check on compile_comman…
This commit is contained in:
Daniel Marjamäki 2016-11-05 21:00:18 +01:00 committed by GitHub
commit da956a5278
1 changed files with 1 additions and 1 deletions

View File

@ -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;