Fix for problem: "Too many #ifdef configurations - cppcheck will only check 12 of 12"

This commit is contained in:
PKEuS 2012-06-13 10:50:50 -07:00
parent 4b6e1c6946
commit 1a6e69a80b
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ unsigned int CppCheck::processFile(const std::string& filename)
configurations.push_back(_settings.userDefines);
}
if (!_settings._force && configurations.size() >= _settings._maxConfigs) {
if (!_settings._force && configurations.size() > _settings._maxConfigs) {
const std::string fixedpath = Path::toNativeSeparators(filename);
ErrorLogger::ErrorMessage::FileLocation location;
location.setfile(fixedpath);