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); _______________________________________________ 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"