summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@nokia.com>2011-10-21 15:23:53 +0200
committerQt by Nokia <qt-info@nokia.com>2011-12-13 19:39:32 +0100
commitaa56eaa87789941540a97c816b4e6d911875e6cd (patch)
tree0f3e90151fb7a75a3470479d2469a60f74463fc0 /src
parent44f28b79e09e0cd56944f438a3e4ed704a40edc9 (diff)
downloadqttools-aa56eaa87789941540a97c816b4e6d911875e6cd.tar.gz
Removed dead assignments
Change-Id: I1368cb534284016479211160cd8bf3cbc2f738e4 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> (cherry picked from commit 75719f04ee2c41312c70fee2271796d05ea08c0e) Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Diffstat (limited to 'src')
-rw-r--r--src/linguist/shared/profileevaluator.cpp4
-rw-r--r--src/linguist/shared/profileparser.cpp1
2 files changed, 2 insertions, 3 deletions
diff --git a/src/linguist/shared/profileevaluator.cpp b/src/linguist/shared/profileevaluator.cpp
index e0e4a2b10..bd63508df 100644
--- a/src/linguist/shared/profileevaluator.cpp
+++ b/src/linguist/shared/profileevaluator.cpp
@@ -3015,9 +3015,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/linguist/shared/profileparser.cpp b/src/linguist/shared/profileparser.cpp
index 5ba33fc8a..12c109136 100644
--- a/src/linguist/shared/profileparser.cpp
+++ b/src/linguist/shared/profileparser.cpp
@@ -1013,7 +1013,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;
}