From: Jim Meyering Date: Sun, 22 Aug 1999 09:51:20 +0000 (+0000) Subject: (dump): Use IF_LINT macro instead of #ifdef lint... X-Git-Tag: FILEUTILS-4_0j-trial~312 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=46554e300bf16028f96b007a86b39cac0a73b8ad;p=thirdparty%2Fcoreutils.git (dump): Use IF_LINT macro instead of #ifdef lint... (main): Likewise. --- diff --git a/src/od.c b/src/od.c index 3a356b3bb8..d5b6cf8a15 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, "");