aboutsummaryrefslogtreecommitdiff
path: root/toys/posix
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix')
-rw-r--r--toys/posix/date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/date.c b/toys/posix/date.c
index 98038425..81e6b7e3 100644
--- a/toys/posix/date.c
+++ b/toys/posix/date.c
@@ -68,7 +68,7 @@ GLOBALS(
// Handles any leading `TZ="blah" ` in the input string.
static void parse_date(char *str, time_t *t)
{
- char *new_tz = NULL, *old_tz, *s = str;
+ char *new_tz = NULL, *old_tz QUIET, *s = str;
if (!strncmp(str, "TZ=\"", 4)) {
// Extract the time zone and skip any whitespace.