summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-08-22 10:19:15 +0000
committerJim Meyering <jim@meyering.net>1999-08-22 10:19:15 +0000
commit4dac9be01416852472b338a995d3d3497816f14a (patch)
treed4f20609643b49863d4258b1137c9bcf175234af /src
parent46554e300bf16028f96b007a86b39cac0a73b8ad (diff)
downloadcoreutils-4dac9be01416852472b338a995d3d3497816f14a.tar.xz
(batch_convert): Use IF_LINT macro instead of #ifdef lint.
Diffstat (limited to 'src')
-rw-r--r--src/date.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/date.c b/src/date.c
index 869794b6e..3c9d3b7a9 100644
--- a/src/date.c
+++ b/src/date.c
@@ -212,12 +212,7 @@ batch_convert (const char *input_filename, const char *format)
int line_length;
size_t buflen;
time_t when;
- char *initial_TZ;
-
-#ifdef lint
- /* Suppress `may be used before initialized' warning. */
- initial_TZ = NULL;
-#endif
+ char *initial_TZ IF_LINT (= NULL);
if (strcmp (input_filename, "-") == 0)
{