Possible dynamic array dimension fix (bug 4428, r=dvander)

This commit is contained in:
Fyren 2010-06-19 15:15:23 -07:00
parent 9a140ff93f
commit e332f4e12b

View File

@ -2341,7 +2341,10 @@ static int declloc(int fstatic)
stradjust(sPRI);
}
pushreg(sPRI);
/* No idea why this is here, but it throws away dimension info which
would otherwise be used by addvariable2 below.
memset(dim, 0, sizeof(int)*sDIMEN_MAX);
*/
ident = iREFARRAY;
genarray(numdim, autozero);
}