[Scummvm-cvs-logs] SF.net SVN: scummvm:[51010] scummvm/trunk/engines/sci/engine/vm.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Sun Jul 18 22:36:19 CEST 2010


Revision: 51010
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51010&view=rev
Author:   m_kiewitz
Date:     2010-07-18 20:36:19 +0000 (Sun, 18 Jul 2010)

Log Message:
-----------
SCI: fix warning

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/vm.cpp

Modified: scummvm/trunk/engines/sci/engine/vm.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/vm.cpp	2010-07-18 20:19:14 UTC (rev 51009)
+++ scummvm/trunk/engines/sci/engine/vm.cpp	2010-07-18 20:36:19 UTC (rev 51010)
@@ -1125,7 +1125,7 @@
 
 		switch (opcode) {
 
-		case op_bnot: // 0x00 (00)
+		case op_bnot: { // 0x00 (00)
 			// Binary not
 			int16 value;
 			if (validate_signedInteger(s->r_acc, value))
@@ -1133,6 +1133,7 @@
 			else
 				s->r_acc = arithmetic_lookForWorkaround(opcode, NULL, s->r_acc, NULL_REG);
 			break;
+		}
 
 		case op_add: // 0x01 (01)
 			r_temp = POP32();


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