summaryrefslogtreecommitdiff
path: root/file/src/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'file/src/print.c')
-rw-r--r--file/src/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file/src/print.c b/file/src/print.c
index 0bc005454..93ecc0337 100644
--- a/file/src/print.c
+++ b/file/src/print.c
@@ -212,7 +212,7 @@ file_fmttime(uint32_t v, int local)
if (local) {
pp = ctime(&t);
} else {
-#ifndef HAVE_DAYLIGHT
+#ifndef HAVE_DAYLIGHT && !defined(__LCLINT__)
static int daylight = 0;
#ifdef HAVE_TM_ISDST
static time_t now = (time_t)0;