diff options
author | Jim Meyering <jim@meyering.net> | 1995-05-28 20:12:24 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-05-28 20:12:24 +0000 |
commit | 95847323765bbe347117fa590a02de71b1a8efb3 (patch) | |
tree | c5c9e807ef1e8fe3c44e34409f90de0193a8308e /src | |
parent | 0a73924f607e9d89b8d0d5a38bdaec094ee89dac (diff) | |
download | coreutils-95847323765bbe347117fa590a02de71b1a8efb3.tar.xz |
(add_field_list): Compute max once for each call to add_field.
Diffstat (limited to 'src')
-rw-r--r-- | src/join.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/join.c b/src/join.c index ec99888db..0121e9c20 100644 --- a/src/join.c +++ b/src/join.c @@ -569,13 +569,13 @@ add_field_list (str) if (field == -1) field = 0; field = field * 10 + *str - '0'; - uni_blank.nfields = max (uni_blank.nfields, field); } } else return 0; } + uni_blank.nfields = max (uni_blank.nfields, field); added += add_field (file, field); return added; } |