diff --git a/sourcepawn/compiler/sc1.c b/sourcepawn/compiler/sc1.c index 20af2c98..fe2fa2c2 100644 --- a/sourcepawn/compiler/sc1.c +++ b/sourcepawn/compiler/sc1.c @@ -7262,7 +7262,7 @@ static void doreturn(void) if (!matchtag_string(ident, tag)) matchtag(curfunc->tag,tag,TRUE); if (ident==iARRAY || ident==iREFARRAY) { - int dim[sDIMEN_MAX],numdim; + int dim[sDIMEN_MAX], numdim = 0; cell arraysize; assert(sym!=NULL); if (sub!=NULL) {