Fix for -Wunitialized warnings broke compiles without INET6, refix.
This commit is contained in:
parent
80c284f9bb
commit
e3fa5cc725
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: tcp_output.c,v 1.49 1999/07/02 12:45:32 itojun Exp $ */
|
||||
/* $NetBSD: tcp_output.c,v 1.50 1999/07/02 21:02:05 fvdl Exp $ */
|
||||
|
||||
/*
|
||||
%%% portions-copyright-nrl-95
|
||||
@ -773,7 +773,9 @@ send:
|
||||
#endif
|
||||
default: /*pacify gcc*/
|
||||
ip = NULL;
|
||||
#ifdef INET6
|
||||
ip6 = NULL;
|
||||
#endif
|
||||
th = NULL;
|
||||
break;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: tcp_subr.c,v 1.68 1999/07/02 12:45:32 itojun Exp $ */
|
||||
/* $NetBSD: tcp_subr.c,v 1.69 1999/07/02 21:02:05 fvdl Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
||||
@ -447,7 +447,9 @@ tcp_respond(tp, template, m, ack, seq, flags)
|
||||
#endif
|
||||
default: /*pacify gcc*/
|
||||
ip = NULL;
|
||||
#ifdef INET6
|
||||
ip6 = NULL;
|
||||
#endif
|
||||
th = NULL;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user