summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2005-09-21 03:21:35 +0000
committerkientzle <kientzle@FreeBSD.org>2005-09-21 03:21:35 +0000
commitb035b8b7b3780581ed55ea9ca0660c0af57f5a5b (patch)
tree8ffd434d933d53c4382ac7667083207025395de3 /usr.bin/tar
parentbe4ab3ea858b164c1197a6362019218d0856a226 (diff)
downloadFreeBSD-src-b035b8b7b3780581ed55ea9ca0660c0af57f5a5b.zip
FreeBSD-src-b035b8b7b3780581ed55ea9ca0660c0af57f5a5b.tar.gz
Style fix: Correct a compiler warning from GCC 4
Thanks to: Divacky Roman PR: bin/84993
Diffstat (limited to 'usr.bin/tar')
-rw-r--r--usr.bin/tar/getdate.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/tar/getdate.y b/usr.bin/tar/getdate.y
index cc838c1..e6ca781 100644
--- a/usr.bin/tar/getdate.y
+++ b/usr.bin/tar/getdate.y
@@ -717,6 +717,7 @@ get_date(char *p)
time_t nowtime;
long tzone;
+ memset(&gmt, 0, sizeof(gmt));
yyInput = p;
(void)time (&nowtime);
OpenPOWER on IntegriCloud