Source-Changes-HG archive

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

[src/trunk]: src/sbin/routed Initialize an uninitialized variable.



details:   https://anonhg.NetBSD.org/src/rev/e9a8f912016d
branches:  trunk
changeset: 555308:e9a8f912016d
user:      enami <enami%NetBSD.org@localhost>
date:      Fri Nov 14 01:31:24 2003 +0000

description:
Initialize an uninitialized variable.

diffstat:

 sbin/routed/main.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b90b1f7e2d15 -r e9a8f912016d sbin/routed/main.c
--- a/sbin/routed/main.c        Fri Nov 14 00:39:17 2003 +0000
+++ b/sbin/routed/main.c        Fri Nov 14 01:31:24 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.34 2003/09/06 12:46:50 itojun Exp $ */
+/*     $NetBSD: main.c,v 1.35 2003/11/14 01:31:24 enami Exp $  */
 
 /*
  * Copyright (c) 1983, 1988, 1993
@@ -46,7 +46,7 @@
            "The Regents of the University of California."
            "  All rights reserved.\n");
 #ifdef __NetBSD__
-__RCSID("$NetBSD: main.c,v 1.34 2003/09/06 12:46:50 itojun Exp $");
+__RCSID("$NetBSD: main.c,v 1.35 2003/11/14 01:31:24 enami Exp $");
 #elif defined(__FreeBSD__)
 __RCSID("$FreeBSD$");
 #else
@@ -112,7 +112,7 @@
        const char *cp;
        struct timeval wtime, t2;
        time_t dt;
-       fd_set *ibitsp;
+       fd_set *ibitsp = NULL;
        naddr p_net, p_mask;
        struct interface *ifp;
        struct parm parm;



Home | Main Index | Thread Index | Old Index