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)
{
arginfo *arg;
assert(sym->ident==iFUNCTN);
arginfo *arg = sym->dim.arglist;
while (arg->ident) {
for (arg = sym->dim.arglist; arg->ident; arg++) {
if (arg->ident == iVARARGS)
return TRUE;
arg++;