cppcheck: added function call to the variable scope check.

This commit is contained in:
Daniel Marjamäki 2009-01-14 07:43:46 +00:00
parent f53e66a4b1
commit 9e91f75386
1 changed files with 1 additions and 1 deletions

View File

@ -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