From owner-svn-src-all@FreeBSD.ORG Thu Oct 10 07:23:11 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C3C89175; Thu, 10 Oct 2013 07:23:11 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B19EC25AA; Thu, 10 Oct 2013 07:23:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9A7NBlT047175; Thu, 10 Oct 2013 07:23:11 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9A7NBOf047173; Thu, 10 Oct 2013 07:23:11 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201310100723.r9A7NBOf047173@svn.freebsd.org> From: Dimitry Andric Date: Thu, 10 Oct 2013 07:23:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r256253 - head/sys/contrib/ipfilter/netinet X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Oct 2013 07:23:11 -0000 Author: dim Date: Thu Oct 10 07:23:11 2013 New Revision: 256253 URL: http://svnweb.freebsd.org/changeset/base/256253 Log: Initialize a variable in sys/contrib/ipfilter/netinet/ip_tftp_pxy.c, to silence a gcc warning. Approved by: re (rodrigc) X-MFC-With: r255332 Modified: head/sys/contrib/ipfilter/netinet/ip_tftp_pxy.c Modified: head/sys/contrib/ipfilter/netinet/ip_tftp_pxy.c ============================================================================== --- head/sys/contrib/ipfilter/netinet/ip_tftp_pxy.c Thu Oct 10 03:57:47 2013 (r256252) +++ head/sys/contrib/ipfilter/netinet/ip_tftp_pxy.c Thu Oct 10 07:23:11 2013 (r256253) @@ -297,7 +297,7 @@ ipf_p_tftp_backchannel(fin, aps, nat) tftpinfo_t *ti; udphdr_t udp; fr_info_t fi; - u_short slen; + u_short slen = 0; /* silence gcc */ nat_t *nat2; int nflags; ip_t *ip;