CheckUninitVar: Use %op%

This commit is contained in:
Daniel Marjamäki 2011-04-10 11:28:18 +02:00
parent 0a1d6efe8c
commit ad8fb37fb0
1 changed files with 1 additions and 1 deletions

View File

@ -481,7 +481,7 @@ private:
}
// Used..
if (Token::Match(tok.previous(), "[[(,+-*/|=] %var% []),;+-*/|]"))
if (Token::Match(tok.previous(), "[[(,+-*/|=] %var% ]|)|,|;|%op%"))
{
use(checks, &tok);
return &tok;