Module Name:    src
Committed By:   mrg
Date:           Fri Jul  1 02:18:37 UTC 2011

Modified Files:
        src/external/bsd/ntp/dist/ntpd: refclock_oncore.c

Log Message:
avoid a potential uninitialised variable problem.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/ntp/dist/ntpd/refclock_oncore.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/ntp/dist/ntpd/refclock_oncore.c
diff -u src/external/bsd/ntp/dist/ntpd/refclock_oncore.c:1.3 src/external/bsd/ntp/dist/ntpd/refclock_oncore.c:1.4
--- src/external/bsd/ntp/dist/ntpd/refclock_oncore.c:1.3	Sat Dec  4 23:08:35 2010
+++ src/external/bsd/ntp/dist/ntpd/refclock_oncore.c	Fri Jul  1 02:18:37 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: refclock_oncore.c,v 1.3 2010/12/04 23:08:35 christos Exp $	*/
+/*	$NetBSD: refclock_oncore.c,v 1.4 2011/07/01 02:18:37 mrg Exp $	*/
 
 
 /*
@@ -2488,7 +2488,7 @@
 {
 	int	chan, id, subframe, valid, page, i, j, tow;
 	int	day_now, day_lsf;
-	const char *cp;
+	const char *cp = NULL /* XXX gcc */;
 	char Msg[120];
 	enum {
 		WARN_NOT_YET,

Reply via email to