aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/expression.cpp
diff options
context:
space:
mode:
authorArnaud Boutonné2010-08-15 23:37:56 +0000
committerArnaud Boutonné2010-08-15 23:37:56 +0000
commit58987824c2846f127ced4902ab37098e34662b20 (patch)
treeab3bb49dabfc4a848af887205531d6f6916f41e9 /engines/gob/expression.cpp
parentb49761b6eae3a0aadefef4c4ffee6a7b583cc3ac (diff)
downloadscummvm-rg350-58987824c2846f127ced4902ab37098e34662b20.tar.gz
scummvm-rg350-58987824c2846f127ced4902ab37098e34662b20.tar.bz2
scummvm-rg350-58987824c2846f127ced4902ab37098e34662b20.zip
Gob - Follow cppcheck advices
svn-id: r52106
Diffstat (limited to 'engines/gob/expression.cpp')
-rw-r--r--engines/gob/expression.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/gob/expression.cpp b/engines/gob/expression.cpp
index 9652862b2f..d053345b4c 100644
--- a/engines/gob/expression.cpp
+++ b/engines/gob/expression.cpp
@@ -1002,7 +1002,6 @@ int16 Expression::parseExpr(byte stopToken, byte *type) {
Stack stack;
StackFrame stackFrame(stack);
byte operation;
- bool escape;
int16 brackStart;
uint32 varBase;
@@ -1037,7 +1036,6 @@ int16 Expression::parseExpr(byte stopToken, byte *type) {
if ((operation == stopToken) || (operation == OP_OR) ||
(operation == OP_AND) || (operation == OP_END_EXPR)) {
while (stackFrame.pos >= 2) {
- escape = false;
if ((stackFrame.opers[-2] == OP_BEGIN_EXPR) &&
((operation == OP_END_EXPR) || (operation == stopToken))) {
stackFrame.opers[-2] = stackFrame.opers[-1];