Resolve CID 1132030
This commit is contained in:
parent
263582ddbd
commit
b022afae75
|
@ -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