diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index dc60021eb..ae1964c5a 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -3579,8 +3579,7 @@ bool Tokenizer::simplifyTokenList() } // Simplify simple calculations.. - while (simplifyCalculations()) - ; + simplifyCalculations(); // Replace "*(str + num)" => "str[num]" for (Token *tok = _tokens; tok; tok = tok->next())