From 9e91f753862ea4bce142d6695977c0b9225ff052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 14 Jan 2009 07:43:46 +0000 Subject: [PATCH] cppcheck: added function call to the variable scope check. --- src/cppcheck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cppcheck.cpp b/src/cppcheck.cpp index 153f46866..115df1e6a 100644 --- a/src/cppcheck.cpp +++ b/src/cppcheck.cpp @@ -330,7 +330,7 @@ void CppCheck::checkFile(const std::string &code, const char FileName[]) // Variable scope (check if the scope could be limited) if (ErrorMessage::variableScope(_settings)) - /*CheckVariableScope()*/; + checkOther.CheckVariableScope(); // Check for various types of incomplete statements that could for example // mean that an ';' has been added by accident