diff --git a/lib/checkother.h b/lib/checkother.h index bc5b1db35..0ca251491 100644 --- a/lib/checkother.h +++ b/lib/checkother.h @@ -63,6 +63,7 @@ public: checkOther.checkRedundantAssignmentInSwitch(); checkOther.checkAssignmentInAssert(); checkOther.checkSizeofForArrayParameter(); + checkOther.checkSelfAssignment(); } /** @brief Run checks against the simplified token list */ @@ -82,7 +83,6 @@ public: checkOther.checkFflushOnInputStream(); checkOther.invalidScanf(); - checkOther.checkSelfAssignment(); checkOther.checkIncorrectLogicOperator(); checkOther.checkMisusedScopedObject(); checkOther.checkCatchExceptionByValue();