Fix #7789 (Missing error messages in repeated check on compile_commands.json in cppcheck-gui)
This commit is contained in:
parent
0ddd82d1d5
commit
19706b3464
|
@ -84,7 +84,7 @@ unsigned int CppCheck::check(const std::string &path, const std::string &content
|
||||||
|
|
||||||
unsigned int CppCheck::check(const ImportProject::FileSettings &fs)
|
unsigned int CppCheck::check(const ImportProject::FileSettings &fs)
|
||||||
{
|
{
|
||||||
CppCheck temp(*this, _useGlobalSuppressions);
|
CppCheck temp(_errorLogger, _useGlobalSuppressions);
|
||||||
temp._settings = _settings;
|
temp._settings = _settings;
|
||||||
temp._settings.userDefines = fs.defines;
|
temp._settings.userDefines = fs.defines;
|
||||||
temp._settings.includePaths = fs.includePaths;
|
temp._settings.includePaths = fs.includePaths;
|
||||||
|
|
Loading…
Reference in New Issue