Fix #7789 (Missing error messages in repeated check on compile_commands.json in cppcheck-gui)

This commit is contained in:
Frank Zingsheim 2016-11-05 20:14:01 +01:00
parent 0ddd82d1d5
commit 19706b3464
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;