Fix syntax error

This commit is contained in:
Daniel Marjamäki 2018-05-08 10:21:03 +02:00
parent 315dc2ad8a
commit c266688784
1 changed files with 1 additions and 1 deletions

View File

@ -444,7 +444,7 @@ unsigned int CppCheck::checkFile(const std::string& filename, const std::string
}
}
if (!hasValidConfig && configurations.size() > 1 && _settings->isEnabled(Settings::INFORMATION)) {
if (!hasValidConfig && configurations.size() > 1 && _settings.isEnabled(Settings::INFORMATION)) {
std::list<ErrorLogger::ErrorMessage::FileLocation> locationList;
ErrorLogger::ErrorMessage::FileLocation loc;
loc.setfile(Path::toNativeSeparators(filename));