From 44b459a98ce24eccbcfce9be9de99bbc7dba8ea0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 23 Dec 2008 19:39:06 +0000 Subject: [PATCH] simplifyKnownVariables : optimisation --- tokenize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokenize.cpp b/tokenize.cpp index 2c491dcd6..1821ea80f 100644 --- a/tokenize.cpp +++ b/tokenize.cpp @@ -1464,7 +1464,7 @@ bool Tokenizer::simplifyKnownVariables() { --indentlevel; if ( indentlevel <= 0 ) - continue; + break; } else if ( TOKEN::Match(tok2, "%var% = %num% ;") ||