Merge pull request #394 from Dmitry-Me/resolve1132030
Resolve CID 1132030
This commit is contained in:
commit
543589564d
|
@ -2906,7 +2906,7 @@ bool Preprocessor::validateCfg(const std::string &code, const std::string &cfg)
|
||||||
if (pos2 < code.size() && (std::isalnum((unsigned char)code[pos2]) || code[pos2] == '_'))
|
if (pos2 < code.size() && (std::isalnum((unsigned char)code[pos2]) || code[pos2] == '_'))
|
||||||
continue;
|
continue;
|
||||||
// macro is used in code, return false
|
// macro is used in code, return false
|
||||||
if (_settings->isEnabled("information"))
|
if (_settings && _settings->isEnabled("information"))
|
||||||
validateCfgError(cfg, macro);
|
validateCfgError(cfg, macro);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue