Merge branch 'master' of git://github.com/czw/cppcheck
This commit is contained in:
commit
cd2f8f6838
|
@ -965,7 +965,9 @@ Token *CheckMemoryLeakInFunction::getcode(const Token *tok, std::list<const Toke
|
|||
addtoken((dep ? "ifv" : "if"));
|
||||
}
|
||||
|
||||
tok = tok->next()->link();
|
||||
tok = tok->next();
|
||||
if (tok->link())
|
||||
tok = tok->link();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue