Fixed #2531 (False positive: Redudant assignment to itself)

This commit is contained in:
Daniel Marjamäki 2011-02-04 20:55:38 +01:00
parent dbc5929fa2
commit d06fde77ff
1 changed files with 1 additions and 1 deletions

View File

@ -63,6 +63,7 @@ public:
checkOther.checkRedundantAssignmentInSwitch(); checkOther.checkRedundantAssignmentInSwitch();
checkOther.checkAssignmentInAssert(); checkOther.checkAssignmentInAssert();
checkOther.checkSizeofForArrayParameter(); checkOther.checkSizeofForArrayParameter();
checkOther.checkSelfAssignment();
} }
/** @brief Run checks against the simplified token list */ /** @brief Run checks against the simplified token list */
@ -82,7 +83,6 @@ public:
checkOther.checkFflushOnInputStream(); checkOther.checkFflushOnInputStream();
checkOther.invalidScanf(); checkOther.invalidScanf();
checkOther.checkSelfAssignment();
checkOther.checkIncorrectLogicOperator(); checkOther.checkIncorrectLogicOperator();
checkOther.checkMisusedScopedObject(); checkOther.checkMisusedScopedObject();
checkOther.checkCatchExceptionByValue(); checkOther.checkCatchExceptionByValue();