Author: flo (ports committer) Date: Sat Mar 2 17:51:22 2013 New Revision: 247658 URL: http://svnweb.freebsd.org/changeset/base/247658
Log: MFC: r242854 (by rdivacky) Initialize hdrlen to 0 to avoid clang warning in NOINET case. This fixes the kernel build for INET6 only kernels. Approved by: cognet Modified: stable/9/sys/netinet/tcp_timewait.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/netinet/tcp_timewait.c ============================================================================== --- stable/9/sys/netinet/tcp_timewait.c Sat Mar 2 17:39:20 2013 (r247657) +++ stable/9/sys/netinet/tcp_timewait.c Sat Mar 2 17:51:22 2013 (r247658) @@ -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); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"