Get rid of Hungarian notation

This commit is contained in:
Dmitry-Me 2015-02-27 12:02:12 +03:00
parent 9b874b97f0
commit 848f50b005
1 changed files with 2 additions and 2 deletions

View File

@ -2778,8 +2778,8 @@ void CheckMemoryLeakNoVar::checkForUnsafeArgAlloc(const Scope *scope)
// Scan through the arguments to the function call
for (const Token *tok2 = tok->tokAt(2); tok2 && tok2 != endParamToken; tok2 = tok2->nextArgument()) {
const Function *pFunc = tok2->function();
const bool isNothrow = pFunc && (pFunc->isAttributeNothrow() || pFunc->isThrow());
const Function *func = tok2->function();
const bool isNothrow = func && (func->isAttributeNothrow() || func->isThrow());
if (Token::Match(tok2, "shared_ptr|unique_ptr < %name% > ( new %name%")) {
pointerType = tok2->str();