@@ -48,7 +48,6 @@ class TestMemleak : private TestFixture {
4848 Tokenizer tokenizer (&settings, this );
4949 std::istringstream istr (code);
5050 tokenizer.tokenize (istr, " test.cpp" );
51- tokenizer.setVarId ();
5251
5352 return ((const CheckMemoryLeak *)0 )->functionReturnType (tokenizer.tokens ());
5453 }
@@ -132,7 +131,6 @@ class TestMemleakInFunction : public TestFixture {
132131 Tokenizer tokenizer (&settings, this );
133132 std::istringstream istr (code);
134133 tokenizer.tokenize (istr, " test.cpp" );
135- tokenizer.setVarId ();
136134 tokenizer.simplifyTokenList ();
137135
138136 // Check for memory leaks..
@@ -3077,7 +3075,6 @@ class TestMemleakInFunction : public TestFixture {
30773075 Tokenizer tokenizer (&settings, this );
30783076 std::istringstream istr (code);
30793077 tokenizer.tokenize (istr, " test.cpp" );
3080- tokenizer.setVarId ();
30813078 tokenizer.simplifyTokenList ();
30823079
30833080 // Check for memory leaks..
@@ -3784,7 +3781,6 @@ class TestMemleakInClass : public TestFixture {
37843781 Tokenizer tokenizer (&settings, this );
37853782 std::istringstream istr (code);
37863783 tokenizer.tokenize (istr, " test.cpp" );
3787- tokenizer.setVarId ();
37883784 tokenizer.simplifyTokenList ();
37893785
37903786 // Check for memory leaks..
0 commit comments