(dump): Use IF_LINT macro instead of #ifdef lint...
authorJim Meyering <jim@meyering.net>
Sun, 22 Aug 1999 09:51:20 +0000 (09:51 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 22 Aug 1999 09:51:20 +0000 (09:51 +0000)
(main): Likewise.

src/od.c

index 3a356b3..d5b6cf8 100644 (file)
--- 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, "");