(xuflds): Test for no fields was off by one. Remove it; let caller
deal with missing fields.
This commit is contained in:
parent
f6bec2c3f7
commit
aa63e64107
1 changed files with 0 additions and 2 deletions
|
@ -162,8 +162,6 @@ xuflds(FILE *fp, struct value values[])
|
||||||
"Expected space or newline as field separator found %c",
|
"Expected space or newline as field separator found %c",
|
||||||
sep);
|
sep);
|
||||||
}
|
}
|
||||||
if (i == 0)
|
|
||||||
return gripe("No columns read");
|
|
||||||
values[++i].v_type = VAL_NOTUSED;
|
values[++i].v_type = VAL_NOTUSED;
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue