diff options
author | Jim Meyering <jim@meyering.net> | 2000-12-02 22:18:21 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-12-02 22:18:21 +0000 |
commit | d661be38ed6d068779b9a434bdaa2b23a08fcb8c (patch) | |
tree | e1ceb8dd5e9c7f73d6c9ad4464251a7a8b5ac24d /src/seq.c | |
parent | 69e30c7f2a275cd29d1c997a13b85efe48fedc64 (diff) | |
download | coreutils-d661be38ed6d068779b9a434bdaa2b23a08fcb8c.tar.xz |
(valid_format): Move pre-increment to a separate statement to avoid a warning.
Diffstat (limited to 'src/seq.c')
-rw-r--r-- | src/seq.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -147,7 +147,10 @@ valid_format (const char *fmt) fmt += strspn (fmt, "0123456789"); if (*fmt == '.') - fmt += strspn (++fmt, "0123456789"); + { + ++fmt; + fmt += strspn (fmt, "0123456789"); + } } if (!(*fmt == 'e' || *fmt == 'f' || *fmt == 'g')) |