CheckBufferOverrun: Fixed minor bug that resultet in false positives

This commit is contained in:
Daniel Marjamäki 2008-05-10 12:12:50 +00:00
parent 9ce09909e6
commit aef0278e43
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ static void CheckBufferOverrun_CheckScope( const TOKEN *tok, const char *varname
int indentlevel2 = 0;
while (tok2)
{
if ( tok2->str[0] == ';' && indentlevel == 0 )
if ( tok2->str[0] == ';' && indentlevel2 == 0 )
break;
if ( tok2->str[0] == '{' )