From 75719f04ee2c41312c70fee2271796d05ea08c0e Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Fri, 21 Oct 2011 15:23:53 +0200 Subject: Removed dead assignments Change-Id: I1368cb534284016479211160cd8bf3cbc2f738e4 Reviewed-by: Oswald Buddenhagen --- src/shared/proparser/profileevaluator.cpp | 4 ++-- src/shared/proparser/profileparser.cpp | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/shared/proparser/profileevaluator.cpp b/src/shared/proparser/profileevaluator.cpp index 8667b79fde..905d4ed051 100644 --- a/src/shared/proparser/profileevaluator.cpp +++ b/src/shared/proparser/profileevaluator.cpp @@ -3006,9 +3006,9 @@ ProFileEvaluator::Private::VisitReturn ProFileEvaluator::Private::evaluateCondit case T_LOAD: { if (m_skipLevel && !m_cumulative) return ReturnFalse; - bool ignore_error = false; + // bool ignore_error = false; if (args.count() == 2) { - ignore_error = isTrue(args.at(1), m_tmp2); + // ignore_error = isTrue(args.at(1), m_tmp2); } else if (args.count() != 1) { evalError(fL1S("load(feature) requires one or two arguments.")); return ReturnFalse; diff --git a/src/shared/proparser/profileparser.cpp b/src/shared/proparser/profileparser.cpp index c67dedebea..01c36130cd 100644 --- a/src/shared/proparser/profileparser.cpp +++ b/src/shared/proparser/profileparser.cpp @@ -1003,7 +1003,6 @@ void ProFileParser::finalizeCall(ushort *&tokPtr, ushort *uc, ushort *ptr, int a } putTok(tokPtr, defType); putHashStr(tokPtr, uce + 2, nlen); - uc = uce + 2 + nlen + 1; enterScope(tokPtr, true, StCtrl); return; } -- cgit v1.2.1