From 17e73fd144fa96765a329ff670b245793e742ce6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 6 Mar 2019 21:27:19 +0100 Subject: [PATCH] Move CheckOther::checkComparisonFunctionIsAlwaysTrueOrFalse to Normal checking --- lib/checkother.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkother.h b/lib/checkother.h index c627c85c0..6ec7626b2 100644 --- a/lib/checkother.h +++ b/lib/checkother.h @@ -89,6 +89,7 @@ public: checkOther.checkRedundantCopy(); checkOther.clarifyCalculation(); checkOther.checkPassByReference(); + checkOther.checkComparisonFunctionIsAlwaysTrueOrFalse(); } /** @brief Run checks against the simplified token list */ @@ -102,7 +103,6 @@ public: checkOther.checkMisusedScopedObject(); checkOther.checkInvalidFree(); - checkOther.checkComparisonFunctionIsAlwaysTrueOrFalse(); checkOther.checkAccessOfMovedVariable(); }