[Scummvm-cvs-logs] SF.net SVN: scummvm:[54790] scummvm/trunk/engines/mohawk/livingbooks.cpp
fuzzie at users.sourceforge.net
fuzzie at users.sourceforge.net
Sun Dec 5 23:10:00 CET 2010
Revision: 54790
http://scummvm.svn.sourceforge.net/scummvm/?rev=54790&view=rev
Author: fuzzie
Date: 2010-12-05 22:10:00 +0000 (Sun, 05 Dec 2010)
Log Message:
-----------
MOHAWK: remove 'internal error' errors
Modified Paths:
--------------
scummvm/trunk/engines/mohawk/livingbooks.cpp
Modified: scummvm/trunk/engines/mohawk/livingbooks.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/livingbooks.cpp 2010-12-05 22:02:04 UTC (rev 54789)
+++ scummvm/trunk/engines/mohawk/livingbooks.cpp 2010-12-05 22:10:00 UTC (rev 54790)
@@ -2144,8 +2144,6 @@
case kLBValueInteger:
return integer == x.integer;
}
-
- error("internal error in LBValue");
}
bool LBValue::operator!=(const LBValue &x) const {
@@ -2307,8 +2305,6 @@
value.integer += nextValue.integer;
else if (postOp == "-")
value.integer -= nextValue.integer;
- else
- error("internal error in parseValue");
}
}
@@ -2350,8 +2346,6 @@
_vm->_variables[varname].integer++;
else if (op == "--")
_vm->_variables[varname].integer--;
- else
- error("internal error in runCommand");
}
}
}
@@ -2403,7 +2397,7 @@
else if (op == "<=")
return (value1.integer <= value2.integer);
- error("internal error in checkCondition");
+ return false; // unreachable
}
LBSoundItem::LBSoundItem(MohawkEngine_LivingBooks *vm, Common::Rect rect) : LBItem(vm, rect) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list