Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2013 07:23:11 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256253 - head/sys/contrib/ipfilter/netinet
Message-ID:  <201310100723.r9A7NBOf047173@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310100723.r9A7NBOf047173>