mirror of
https://github.com/albertodemichelis/squirrel.git
synced 2026-01-12 06:28:43 +01:00
Remove unnecessary return.
The return after the conditional branch will achieve the same thing.
This commit is contained in:
committed by
GitHub
parent
68d7c7f516
commit
960c5da6b9
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user