[Scummvm-cvs-logs] SF.net SVN: scummvm:[33318] residual/trunk/engine/lua/liolib.cpp

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Sun Jul 27 00:06:53 CEST 2008


Revision: 33318
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33318&view=rev
Author:   aquadran
Date:     2008-07-26 22:06:53 +0000 (Sat, 26 Jul 2008)

Log Message:
-----------
exit() it's used in some special developer mode case

Modified Paths:
--------------
    residual/trunk/engine/lua/liolib.cpp

Modified: residual/trunk/engine/lua/liolib.cpp
===================================================================
--- residual/trunk/engine/lua/liolib.cpp	2008-07-26 20:35:46 UTC (rev 33317)
+++ residual/trunk/engine/lua/liolib.cpp	2008-07-26 22:06:53 UTC (rev 33318)
@@ -265,12 +265,9 @@
 }
 
 
-static void io_exit (void)
-{
-  // verify if it's really used
-  assert(0);
-  lua_Object o = lua_getparam(1);
-  exit((int)lua_isnumber(o) ? (int)lua_getnumber(o) : 1);
+static void io_exit () {
+    lua_Object o = lua_getparam(1);
+    exit((int)lua_isnumber(o) ? (int)lua_getnumber(o) : 1);
 }
 
 


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