Minor fix to previous commit

This commit is contained in:
Reijo Tomperi 2009-10-28 22:49:46 +02:00
parent 9db22d9b48
commit 38e1a0e03d
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ void CheckBufferOverrun::checkScope(const Token *tok, const char *varname[], con
varc = 2 * (varc - 1);
// Array index..
if (varid > 0 && Token::Match(tok, "%varid% [ %num% ]", varid))
if (varid > 0)
{
if (Token::Match(tok, "%varid% [ %num% ]", varid))
{