[Scummvm-cvs-logs] SF.net SVN: scummvm: [32791] scummvm/trunk/engines/cine/script_fw.cpp
buddha_ at users.sourceforge.net
buddha_ at users.sourceforge.net
Thu Jun 26 00:13:18 CEST 2008
Revision: 32791
http://scummvm.svn.sourceforge.net/scummvm/?rev=32791&view=rev
Author: buddha_
Date: 2008-06-25 15:13:18 -0700 (Wed, 25 Jun 2008)
Log Message:
-----------
Fix for GCC warning (Warned about testing x >= 0 when x is unsigned and therefore the test is always true).
Modified Paths:
--------------
scummvm/trunk/engines/cine/script_fw.cpp
Modified: scummvm/trunk/engines/cine/script_fw.cpp
===================================================================
--- scummvm/trunk/engines/cine/script_fw.cpp 2008-06-25 21:57:08 UTC (rev 32790)
+++ scummvm/trunk/engines/cine/script_fw.cpp 2008-06-25 22:13:18 UTC (rev 32791)
@@ -1773,7 +1773,7 @@
// The zoneQuery table is updated here only in Operation Stealth
if (g_cine->getGameType() == Cine::GType_OS) {
- if (zoneData[idx] >= 0 && zoneData[idx] < NUM_MAX_ZONE) {
+ if (zoneData[idx] < NUM_MAX_ZONE) {
zoneQuery[zoneData[idx]]++;
}
}
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