There was an error while loading. Please reload this page.
1 parent 99beff8 commit 35aa898Copy full SHA for 35aa898
1 file changed
lib/checkleakautovar.cpp
@@ -994,7 +994,6 @@ const Token * CheckLeakAutoVarImpl::checkTokenInsideExpression(const Token * con
994
alloc.status = VarInfo::NOALLOC;
995
functionCall(tok, openingPar, varInfo, alloc, nullptr);
996
const std::string &returnValue = mSettings.library.returnValue(tok);
997
-
998
if (startsWith(returnValue, "arg"))
999
// the function returns one of its argument, we need to process a potential assignment
1000
return openingPar;
0 commit comments