Fix build.

This commit is contained in:
David Anderson 2014-08-19 21:38:44 -07:00
parent 7f25e28d01
commit 567fbcd517

View File

@ -5232,9 +5232,10 @@ static symbol *fetchlab(char *name)
static int is_variadic(symbol *sym) static int is_variadic(symbol *sym)
{ {
arginfo *arg;
assert(sym->ident==iFUNCTN); assert(sym->ident==iFUNCTN);
arginfo *arg = sym->dim.arglist; for (arg = sym->dim.arglist; arg->ident; arg++) {
while (arg->ident) {
if (arg->ident == iVARARGS) if (arg->ident == iVARARGS)
return TRUE; return TRUE;
arg++; arg++;