svn commit: r242854 - head/sys/netinet

Roman Divacky rdivacky at FreeBSD.org
Sat Nov 10 10:41:01 UTC 2012


Author: rdivacky
Date: Sat Nov 10 10:41:00 2012
New Revision: 242854
URL: http://svnweb.freebsd.org/changeset/base/242854

Log:
  Initialize hdrlen to 0 to avoid clang warning in NOINET case.

Modified:
  head/sys/netinet/tcp_timewait.c

Modified: head/sys/netinet/tcp_timewait.c
==============================================================================
--- head/sys/netinet/tcp_timewait.c	Sat Nov 10 08:34:40 2012	(r242853)
+++ head/sys/netinet/tcp_timewait.c	Sat Nov 10 10:41:00 2012	(r242854)
@@ -519,6 +519,7 @@ tcp_twrespond(struct tcptw *tw, int flag
 	struct ip6_hdr *ip6 = NULL;
 	int isipv6 = inp->inp_inc.inc_flags & INC_ISIPV6;
 #endif
+	hdrlen = 0;                     /* Keep compiler happy */
 
 	INP_WLOCK_ASSERT(inp);
 


More information about the svn-src-all mailing list