Backed out changeset d6853d8d39fd

This commit is contained in:
David Anderson 2011-04-15 10:59:10 -07:00
parent a37e2ab26a
commit 3c59621425

View File

@ -2386,14 +2386,7 @@ static int nesting=0;
assert(sc_status==statFIRST || arg[argidx].ident == 0 || arg[argidx].tags!=NULL);
switch (arg[argidx].ident) {
case 0:
/* On the first pass, we don't have all of the parameter info.
* However, use information must be marked anyway, otherwise vars
* declared previously will be omitted in the second pass. See
* SourceMod bug 4643.
*/
error(92); /* argument count mismatch */
if (lval.sym)
markusage(lval.sym,uWRITTEN);
break;
case iVARARGS:
/* always pass by reference */