From aa63e6410723007ffa943dba791938e836885401 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 2 Dec 2005 17:08:36 +0000 Subject: [PATCH] (xuflds): Test for no fields was off by one. Remove it; let caller deal with missing fields. --- src/lib/common/xundump.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/common/xundump.c b/src/lib/common/xundump.c index 087416b4..405f5bf2 100644 --- a/src/lib/common/xundump.c +++ b/src/lib/common/xundump.c @@ -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; }