Remove unnecessary return.

The return after the conditional branch will achieve the same thing.
This commit is contained in:
Sandu Liviu Catalin
2018-10-03 21:33:21 +03:00
committed by GitHub
parent 68d7c7f516
commit 960c5da6b9

View File

@ -1181,7 +1181,7 @@ SQRESULT sq_call(HSQUIRRELVM v,SQInteger params,SQBool retval,SQBool raiseerror)
v->Pop(params);//pop args
}
if(retval){
v->Push(res); return SQ_OK;
v->Push(res);
}
return SQ_OK;
}