mirror of
https://github.com/albertodemichelis/squirrel.git
synced 2026-01-12 06:28:43 +01:00
Merge pull request #206 from linuxmaniac/vseva/fix_205
fix compilation warning
This commit is contained in:
@ -625,7 +625,7 @@ static SQInteger __map_array(SQArray *dest,SQArray *src,HSQUIRRELVM v) {
|
||||
SQObject &closure = stack_get(v, 2);
|
||||
v->Push(closure);
|
||||
|
||||
SQInteger nArgs;
|
||||
SQInteger nArgs = 0;
|
||||
if(sq_type(closure) == OT_CLOSURE) {
|
||||
nArgs = _closure(closure)->_function->_nparameters;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user