Fixed one compiler (gcc) warning.

This commit is contained in:
Reijo Tomperi 2008-12-21 12:59:38 +00:00
parent 12aceca138
commit aec3584fce
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ void CheckBufferOverrunClass::CheckBufferOverrun_CheckScope( const TOKEN *tok, c
pattern << "%var1% [ " << strindex << " ]"; pattern << "%var1% [ " << strindex << " ]";
int indentlevel2 = 0; int indentlevel2 = 0;
while (tok2 = tok2->next()) while ((tok2 = tok2->next()))
{ {
if ( (tok2->str() == ";") && indentlevel2 == 0 ) if ( (tok2->str() == ";") && indentlevel2 == 0 )
break; break;