diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-01-15 03:27:15 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-01-15 03:27:15 +0000 |
commit | f06f668f5fe135c6f0280b3d6a892c1ef568dccd (patch) | |
tree | 3ab3024274d568f08450b7a8f8eb8fb326d87912 | |
parent | 1d20df83e8e74e8939574086f964a61455426798 (diff) |
prevent warning:
in_pcb.c:182: warning: `old' might be used uninitialized in this function
-rw-r--r-- | sys/netinet/in_pcb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 630a8282d7e..3a74cd535f2 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in_pcb.c,v 1.12 1996/08/24 04:56:39 deraadt Exp $ */ +/* $OpenBSD: in_pcb.c,v 1.13 1997/01/15 03:27:14 kstailey Exp $ */ /* $NetBSD: in_pcb.c,v 1.25 1996/02/13 23:41:53 christos Exp $ */ /* @@ -179,7 +179,7 @@ in_pcbbind(v, nam) inp->inp_laddr = sin->sin_addr; } if (lport == 0) { - u_int16_t first, last, old; + u_int16_t first, last, old = 0; int count; int loopcount = 0; |