From aec3584fce6e911ac7c21539b262e8f27550b302 Mon Sep 17 00:00:00 2001 From: Reijo Tomperi Date: Sun, 21 Dec 2008 12:59:38 +0000 Subject: [PATCH] Fixed one compiler (gcc) warning. --- checkbufferoverrun.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkbufferoverrun.cpp b/checkbufferoverrun.cpp index dc78b028b..ed53d0d07 100644 --- a/checkbufferoverrun.cpp +++ b/checkbufferoverrun.cpp @@ -200,7 +200,7 @@ void CheckBufferOverrunClass::CheckBufferOverrun_CheckScope( const TOKEN *tok, c pattern << "%var1% [ " << strindex << " ]"; int indentlevel2 = 0; - while (tok2 = tok2->next()) + while ((tok2 = tok2->next())) { if ( (tok2->str() == ";") && indentlevel2 == 0 ) break;