[Scummvm-cvs-logs] SF.net SVN: scummvm: [31653] scummvm/trunk/engines/made/database.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Tue Apr 22 09:38:50 CEST 2008
Revision: 31653
http://scummvm.svn.sourceforge.net/scummvm/?rev=31653&view=rev
Author: thebluegr
Date: 2008-04-22 00:38:49 -0700 (Tue, 22 Apr 2008)
Log Message:
-----------
Removed 2 obsolete fixmes
Modified Paths:
--------------
scummvm/trunk/engines/made/database.cpp
Modified: scummvm/trunk/engines/made/database.cpp
===================================================================
--- scummvm/trunk/engines/made/database.cpp 2008-04-21 21:48:36 UTC (rev 31652)
+++ scummvm/trunk/engines/made/database.cpp 2008-04-22 07:38:49 UTC (rev 31653)
@@ -131,7 +131,9 @@
} else if (getClass() < 0x7FFE) {
return getCount1() + getCount2();
} else {
- return 0; // FIXME
+ // should never reach here
+ error("Unknown object class");
+ return 0;
}
}
@@ -146,7 +148,9 @@
int16 *vector = (int16*)getData();
return READ_LE_UINT16(&vector[index]);
} else {
- return 0; // FIXME
+ // should never reach here
+ error("Unknown object class");
+ return 0;
}
}
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