From 848f50b005f6d2a025d003c67a7ff18e8f936f61 Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Fri, 27 Feb 2015 12:02:12 +0300 Subject: [PATCH] Get rid of Hungarian notation --- lib/checkmemoryleak.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/checkmemoryleak.cpp b/lib/checkmemoryleak.cpp index eb5fb1d6e..b2542fade 100644 --- a/lib/checkmemoryleak.cpp +++ b/lib/checkmemoryleak.cpp @@ -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();