From 841cfd35c9b8813957aea09f8905c2ba160e8182 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 16 Oct 2003 07:28:01 +0000 Subject: (start_bytes): Rename local, remainder, to avoid gcc's warning about shadowing a global. --- src/tail.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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; } } -- cgit v1.2.3-54-g00ecf