Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/time remove extra initialization



details:   https://anonhg.NetBSD.org/src/rev/91b57ed2f25c
branches:  trunk
changeset: 331625:91b57ed2f25c
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Aug 17 06:11:48 2014 +0000

description:
remove extra initialization

diffstat:

 lib/libc/time/zic.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 37a8f693f775 -r 91b57ed2f25c lib/libc/time/zic.c
--- a/lib/libc/time/zic.c       Sat Aug 16 21:50:15 2014 +0000
+++ b/lib/libc/time/zic.c       Sun Aug 17 06:11:48 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: zic.c,v 1.49 2014/08/16 16:22:21 christos Exp $        */
+/*     $NetBSD: zic.c,v 1.50 2014/08/17 06:11:48 christos Exp $        */
 /*
 ** This file is in the public domain, so clarified as of
 ** 2006-07-17 by Arthur David Olson.
@@ -10,7 +10,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: zic.c,v 1.49 2014/08/16 16:22:21 christos Exp $");
+__RCSID("$NetBSD: zic.c,v 1.50 2014/08/17 06:11:48 christos Exp $");
 #endif /* !defined lint */
 
 #include "version.h"
@@ -2317,7 +2317,6 @@
                                zic_t   offset;
 
                                INITIALIZE(ktime);
-                               ktime = 0;
                                if (useuntil) {
                                        /*
                                        ** Turn untiltime into UT



Home | Main Index | Thread Index | Old Index