From 386b178ef39f53b21410865403eaf57c88f722ff Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 4 Jul 2014 23:00:00 -0700 Subject: [PATCH] Fix uninitialized variable warning. --- sourcepawn/compiler/sc1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {