From 726498833e5ca5e21c73d6491eaac0602a0f821b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 29 Jan 2007 22:33:57 +0000 Subject: [PATCH] Fixed a bug where decl was essentially broken when using arrays --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40416 --- sourcepawn/compiler/sc1.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sourcepawn/compiler/sc1.c b/sourcepawn/compiler/sc1.c index b46f3457..e5fbc32b 100644 --- a/sourcepawn/compiler/sc1.c +++ b/sourcepawn/compiler/sc1.c @@ -2510,10 +2510,6 @@ static void initials(int ident,int tag,cell *size,int dim[],int numdim, int curlit=litidx; int err=0; - if (!autozero) { - return; - } - if (!matchtoken('=')) { assert(ident!=iARRAY || numdim>0); if (ident==iARRAY && dim[numdim-1]==0) {