test/testother.cpp: Fix a C4800 MSVC warning.

This commit is contained in:
XhmikosR 2013-10-23 09:18:09 +03:00
parent 22351a73b1
commit 32e2a5b879
1 changed files with 1 additions and 1 deletions

View File

@ -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;