Fix for -Wunitialized warnings broke compiles without INET6, refix.

This commit is contained in:
fvdl 1999-07-02 21:02:05 +00:00
parent 80c284f9bb
commit e3fa5cc725
2 changed files with 6 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}