Fixed #3574 (false positive: check sign of unsigned variable (type cast))

This commit is contained in:
Daniel Marjamäki 2012-03-28 18:33:34 +02:00
parent abcbe2e49f
commit e6dc901761
1 changed files with 1 additions and 1 deletions

View File

@ -72,6 +72,7 @@ public:
checkOther.checkVariableScope();
checkOther.clarifyCondition(); // not simplified because ifAssign
checkOther.checkComparisonOfBoolExpressionWithInt();
checkOther.checkSignOfUnsignedVariable(); // don't ignore casts (#3574)
}
/** @brief Run checks against the simplified token list */
@ -101,7 +102,6 @@ public:
checkOther.checkAlwaysTrueOrFalseStringCompare();
checkOther.checkAssignBoolToPointer();
checkOther.checkSignOfUnsignedVariable();
checkOther.checkBitwiseOnBoolean();
checkOther.checkDoubleFree();
}