Symbol database: Fixed debug warnings for true/false. true/false doesn't have varId.
This commit is contained in:
parent
2b03bfaf38
commit
e3f779a41c
|
@ -1419,7 +1419,7 @@ void Scope::getVariableList()
|
|||
// If the vartok was set in the if-blocks above, create a entry for this variable..
|
||||
if (vartok && vartok->str() != "operator")
|
||||
{
|
||||
if (vartok->varId() == 0 && check->_settings->debugwarnings)
|
||||
if (vartok->varId() == 0 && !vartok->isBoolean() && check->_settings->debugwarnings)
|
||||
{
|
||||
std::list<ErrorLogger::ErrorMessage::FileLocation> locationList;
|
||||
ErrorLogger::ErrorMessage::FileLocation loc;
|
||||
|
|
Loading…
Reference in New Issue