diff options
-rw-r--r-- | src/shared/proparser/profileevaluator.cpp | 4 | ||||
-rw-r--r-- | 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; } |