Date: Sat, 10 Nov 2012 10:41:00 +0000 (UTC) From: Roman Divacky <rdivacky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r242854 - head/sys/netinet Message-ID: <201211101041.qAAAf0VV086081@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211101041.qAAAf0VV086081>