test/testother.cpp: Fix a C4800 MSVC warning.
This commit is contained in:
parent
22351a73b1
commit
32e2a5b879
|
@ -562,7 +562,7 @@ private:
|
||||||
const SymbolDatabase *symbolDatabase = tokenizer.getSymbolDatabase();
|
const SymbolDatabase *symbolDatabase = tokenizer.getSymbolDatabase();
|
||||||
ASSERT_EQUALS(2U, symbolDatabase->getVariableListSize());
|
ASSERT_EQUALS(2U, symbolDatabase->getVariableListSize());
|
||||||
const Variable *var = symbolDatabase->getVariableFromVarId(1U);
|
const Variable *var = symbolDatabase->getVariableFromVarId(1U);
|
||||||
ASSERT(var->typeStartToken());
|
ASSERT(!!var->typeStartToken());
|
||||||
bool invalid = true;
|
bool invalid = true;
|
||||||
for (const Token *tok = var->typeStartToken(); tok; tok = tok->next()) {
|
for (const Token *tok = var->typeStartToken(); tok; tok = tok->next()) {
|
||||||
invalid = true;
|
invalid = true;
|
||||||
|
|
Loading…
Reference in New Issue