From owner-svn-src-head@FreeBSD.ORG Sat Nov 10 10:41:01 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E1F96B4; Sat, 10 Nov 2012 10:41:01 +0000 (UTC) (envelope-from rdivacky@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id E71DB8FC0A; Sat, 10 Nov 2012 10:41:00 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qAAAf0aT086082; Sat, 10 Nov 2012 10:41:00 GMT (envelope-from rdivacky@svn.freebsd.org) Received: (from rdivacky@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qAAAf0VV086081; Sat, 10 Nov 2012 10:41:00 GMT (envelope-from rdivacky@svn.freebsd.org) Message-Id: <201211101041.qAAAf0VV086081@svn.freebsd.org> From: Roman Divacky Date: Sat, 10 Nov 2012 10:41:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r242854 - head/sys/netinet X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Nov 2012 10:41:01 -0000 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);