summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-08-22 09:51:20 +0000
committerJim Meyering <jim@meyering.net>1999-08-22 09:51:20 +0000
commit46554e300bf16028f96b007a86b39cac0a73b8ad (patch)
treeebe773b9d008fffa513bf6e915b65dda7d5e6e62 /src
parent8b5ed0399d5f0feba0e9c2f832902d006541f07b (diff)
downloadcoreutils-46554e300bf16028f96b007a86b39cac0a73b8ad.tar.xz
(dump): Use IF_LINT macro instead of #ifdef lint...
(main): Likewise.
Diffstat (limited to 'src')
-rw-r--r--src/od.c12
1 files changed, 2 insertions, 10 deletions
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, "");