浏览代码

Merge pull request #40 from iSLC/master

Remove empty statement.
Alberto Demichelis 9 年之前
父节点
当前提交
8242f5ac06
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      squirrel/sqvm.cpp

+ 1 - 1
squirrel/sqvm.cpp

@@ -301,7 +301,7 @@ bool SQVM::ToString(const SQObjectPtr &o,SQObjectPtr &res)
             SQObjectPtr closure;
             if(_delegable(o)->GetMetaMethod(this, MT_TOSTRING, closure)) {
                 Push(o);
-                if(CallMetaMethod(closure,MT_TOSTRING,1,res)) {;
+                if(CallMetaMethod(closure,MT_TOSTRING,1,res)) {
                     if(type(res) == OT_STRING)
                         return true;
                 }