Source-Changes-HG archive

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

[src/trunk]: src/sys/net initialize rn with 0, just to be sure



details:   https://anonhg.NetBSD.org/src/rev/8c74f2699dd9
branches:  trunk
changeset: 483540:8c74f2699dd9
user:      itojun <itojun%NetBSD.org@localhost>
date:      Sun Mar 12 11:58:15 2000 +0000

description:
initialize rn with 0, just to be sure

diffstat:

 sys/net/rtsock.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r fb9ab4edfd37 -r 8c74f2699dd9 sys/net/rtsock.c
--- a/sys/net/rtsock.c  Sun Mar 12 11:46:44 2000 +0000
+++ b/sys/net/rtsock.c  Sun Mar 12 11:58:15 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtsock.c,v 1.37 2000/03/10 14:47:13 itojun Exp $       */
+/*     $NetBSD: rtsock.c,v 1.38 2000/03/12 11:58:15 itojun Exp $       */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -203,7 +203,7 @@
 #endif
 {
        register struct rt_msghdr *rtm = 0;
-       register struct radix_node *rn;
+       register struct radix_node *rn = 0;
        register struct rtentry *rt = 0;
        struct rtentry *saved_nrt = 0;
        struct radix_node_head *rnh;



Home | Main Index | Thread Index | Old Index