--- ray/src/common/loadvars.c 1996/01/17 15:45:16 2.2 +++ ray/src/common/loadvars.c 1996/04/19 09:09:28 2.4 @@ -18,7 +18,9 @@ static char SCCSid[] = "$SunId$ LBL"; extern char *malloc(), *realloc(); #endif +extern char *fgetline(); + loadvars(rfname) /* load variables into vv from file */ char *rfname; { @@ -76,9 +78,11 @@ register char *ass; for (n = strlen(ass); n > 0; n--) if (!isspace(ass[n-1])) break; - if (!n && !nowarn) { - fprintf(stderr, "%s: warning - missing value for variable '%s'\n", - progname, varname); + if (!n) { + if (!nowarn) + fprintf(stderr, + "%s: warning - missing value for variable '%s'\n", + progname, varname); return; } /* match variable from list */