From 136c617a9980dd8f75a9158c121c013cf4710a2e Mon Sep 17 00:00:00 2001 From: Robert Reif Date: Sat, 13 Aug 2011 12:47:16 -0400 Subject: [PATCH] fix [tokenize.cpp:6353]: (style) Checking if unsigned variable 'indentlevel' is less than zero. --- lib/tokenize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index c35b0b0b9..8b070efe1 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -6350,7 +6350,7 @@ void Tokenizer::simplifyIfAssign() ++indentlevel; else if (tok2->str() == ")") { - if (indentlevel <= 0) + if (indentlevel == 0) break; --indentlevel; }