only show information message when information messages are enabled
This commit is contained in:
parent
90bc8b7404
commit
315dc2ad8a
|
@ -444,7 +444,7 @@ unsigned int CppCheck::checkFile(const std::string& filename, const std::string
|
|||
}
|
||||
}
|
||||
|
||||
if (!hasValidConfig && configurations.size() > 1) {
|
||||
if (!hasValidConfig && configurations.size() > 1 && _settings->isEnabled(Settings::INFORMATION)) {
|
||||
std::list<ErrorLogger::ErrorMessage::FileLocation> locationList;
|
||||
ErrorLogger::ErrorMessage::FileLocation loc;
|
||||
loc.setfile(Path::toNativeSeparators(filename));
|
||||
|
|
Loading…
Reference in New Issue