From ee9053f2199b8a63085eecbf404bc0fe4b390a98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 6 Mar 2019 20:37:30 +0100 Subject: [PATCH] Moved CheckOther::checkRedundantCopy() 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 4047031df..cc31e455c 100644 --- a/lib/checkother.h +++ b/lib/checkother.h @@ -86,6 +86,7 @@ public: checkOther.checkComparePointers(); checkOther.checkIncompleteStatement(); checkOther.checkPipeParameterSize(); + checkOther.checkRedundantCopy(); } /** @brief Run checks against the simplified token list */ @@ -101,7 +102,6 @@ public: checkOther.checkMisusedScopedObject(); checkOther.checkInvalidFree(); - checkOther.checkRedundantCopy(); checkOther.checkComparisonFunctionIsAlwaysTrueOrFalse(); checkOther.checkAccessOfMovedVariable(); }