From 64ebccd94bdb82ad403fde9c3bb4840efc0f0c9b Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 6 Aug 2016 21:56:33 +0300 Subject: [PATCH] Suppress cppcheck warning. --HG-- branch : develop --- src/libs/qmuparser/qmuparsertest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/qmuparser/qmuparsertest.cpp b/src/libs/qmuparser/qmuparsertest.cpp index 010275b3a..12a036e42 100644 --- a/src/libs/qmuparser/qmuparsertest.cpp +++ b/src/libs/qmuparser/qmuparsertest.cpp @@ -1262,6 +1262,7 @@ int QmuParserTester::EqnTestWithVarChange ( const QString &a_str, double a_fVar1 int QmuParserTester::EqnTest ( const QString &a_str, double a_fRes, bool a_fPass ) { QmuParserTester::c_iCount++; + // cppcheck-suppress variableScope int iRet ( 0 ); qreal fVal[5] = { -999, -998, -997, -996, -995}; // initially should be different