(xuflds): Test for no fields was off by one. Remove it; let caller

deal with missing fields.
This commit is contained in:
Markus Armbruster 2005-12-02 17:08:36 +00:00
parent f6bec2c3f7
commit aa63e64107

View file

@ -162,8 +162,6 @@ xuflds(FILE *fp, struct value values[])
"Expected space or newline as field separator found %c",
sep);
}
if (i == 0)
return gripe("No columns read");
values[++i].v_type = VAL_NOTUSED;
return i;
}