made CheckAssert::inSameScope static to silence cppcheck warning

This commit is contained in:
Daniel Marjamäki 2013-05-15 16:51:15 +02:00
parent 18116ab61e
commit 4d781a7492
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public:
protected:
bool checkVariableAssignment(const Token* tmp, bool reportErr = true);
bool inSameScope(const Token* returnTok, const Token* assignTok);
static bool inSameScope(const Token* returnTok, const Token* assignTok);
static const Token* findAssertPattern(const Token *start);