Merge pull request #40 from iSLC/master

Remove empty statement.
This commit is contained in:
Alberto Demichelis 2016-04-28 16:59:05 +08:00
commit 8242f5ac06

View File

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