From aa008ebd3e1860ed5ad11c83594e5eb206373ccf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Thu, 8 Oct 2009 17:46:53 +0200 Subject: [PATCH] optimisation: removed duplicate call of Tokenizer::setVarId --- src/cppcheck.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/cppcheck.cpp b/src/cppcheck.cpp index 8ba3d3e98..d5b417812 100644 --- a/src/cppcheck.cpp +++ b/src/cppcheck.cpp @@ -489,9 +489,6 @@ void CppCheck::checkFile(const std::string &code, const char FileName[]) } } - // Set variable id - _tokenizer.setVarId(); - _tokenizer.fillFunctionList(); // call all "runChecks" in all registered Check classes