fix missing else in patch that added support for unused const local variables

This commit is contained in:
Robert Reif 2011-07-30 07:16:59 -04:00
parent 50f78ce329
commit 2f4aee2923
1 changed files with 1 additions and 1 deletions

View File

@ -1892,7 +1892,7 @@ void CheckOther::functionVariableUsage()
// standard const type declaration
// const int i = x;
if (Token::Match(tok, "[;{}] const %type% %var% ="))
else if (Token::Match(tok, "[;{}] const %type% %var% ="))
{
tok = tok->next()->next();