Possibly bug fix, changed %var% into %var1% as name was also given as a parameter to Match(). Not sure which was intended here.
This commit is contained in:
parent
1594f453cc
commit
e097232e99
|
@ -646,7 +646,7 @@ void CheckOther::CheckStructMemberUsage()
|
||||||
if ( tok->fileIndex() != 0 )
|
if ( tok->fileIndex() != 0 )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (Token::Match(tok2, ". %var%", 0, varnames))
|
if (Token::Match(tok2, ". %var1%", 0, varnames))
|
||||||
{
|
{
|
||||||
if ( strcmp("=", tok2->strAt(2)) == 0 )
|
if ( strcmp("=", tok2->strAt(2)) == 0 )
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue