diff options
author | Jim Meyering <jim@meyering.net> | 2003-10-16 07:28:01 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-10-16 07:28:01 +0000 |
commit | 841cfd35c9b8813957aea09f8905c2ba160e8182 (patch) | |
tree | 0fba6796f0694fc15b6f5fbed0af6aacd25f01db /src | |
parent | c8dbed5cca8cc5b805697b4047850c875328fd3e (diff) | |
download | coreutils-841cfd35c9b8813957aea09f8905c2ba160e8182.tar.xz |
(start_bytes): Rename local, remainder, to avoid
gcc's warning about shadowing a global.
Diffstat (limited to 'src')
-rw-r--r-- | src/tail.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tail.c b/src/tail.c index a9d89fce9..8575c18ce 100644 --- a/src/tail.c +++ b/src/tail.c @@ -768,9 +768,9 @@ start_bytes (const char *pretty_filename, int fd, uintmax_t n_bytes, n_bytes -= bytes_read; else { - size_t remainder = bytes_read - n_bytes; - if (remainder) - xwrite (STDOUT_FILENO, &buffer[n_bytes], remainder); + size_t n_remaining = bytes_read - n_bytes; + if (n_remaining) + xwrite (STDOUT_FILENO, &buffer[n_bytes], n_remaining); break; } } |