made CheckAssert::inSameScope static to silence cppcheck warning
This commit is contained in:
parent
18116ab61e
commit
4d781a7492
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue