Refactoring : Changed a 'strcmp' to a 'simpleMatch'

This commit is contained in:
Daniel Marjamäki 2009-01-04 07:08:56 +00:00
parent e097232e99
commit 7d59985d88
1 changed files with 1 additions and 1 deletions

View File

@ -648,7 +648,7 @@ void CheckOther::CheckStructMemberUsage()
if (Token::Match(tok2, ". %var1%", 0, varnames))
{
if ( strcmp("=", tok2->strAt(2)) == 0 )
if ( Token::simpleMatch(tok2->tokAt(2), "=") )
continue;
used = true;
break;