From a4a55553f857f41c0819b371912ab8ffb02fcfb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 9 Dec 2008 07:27:39 +0000 Subject: [PATCH] cppcheck : Set variable ids --- cppcheck.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cppcheck.cpp b/cppcheck.cpp index f91dbefce..8b7f28532 100644 --- a/cppcheck.cpp +++ b/cppcheck.cpp @@ -214,6 +214,9 @@ void CppCheck::checkFile(const std::string &code, const char FileName[]) std::istringstream istr(code); _tokenizer.tokenize(istr, FileName); } + + // Set variable id + _tokenizer.setVarId(); _tokenizer.fillFunctionList();