From 46554e300bf16028f96b007a86b39cac0a73b8ad Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 22 Aug 1999 09:51:20 +0000 Subject: (dump): Use IF_LINT macro instead of #ifdef lint... (main): Likewise. --- src/od.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'src/od.c') diff --git a/src/od.c b/src/od.c index 3a356b3bb..d5b6cf8a1 100644 --- a/src/od.c +++ b/src/od.c @@ -1362,15 +1362,11 @@ dump (void) { char *block[2]; off_t current_offset; - off_t end_offset; + off_t end_offset IF_LINT (= 0); int idx; int err; size_t n_bytes_read; -#ifdef lint /* Suppress `used before initialized' warning. */ - end_offset = 0; -#endif - block[0] = (char *) alloca (bytes_per_block); block[1] = (char *) alloca (bytes_per_block); @@ -1581,11 +1577,7 @@ main (int argc, char **argv) /* The old-style `pseudo starting address' to be printed in parentheses after any true address. */ - long int pseudo_start; - -#ifdef lint /* Suppress `used before initialized' warning. */ - pseudo_start = 0; -#endif + long int pseudo_start IF_LINT (= 0); program_name = argv[0]; setlocale (LC_ALL, ""); -- cgit v1.2.3-54-g00ecf