Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2013 17:07:51 +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: r256199 - head/sys/contrib/ipfilter/netinet
Message-ID:  <201310091707.r99H7pSu001422@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Wed Oct  9 17:07:50 2013
New Revision: 256199
URL: http://svnweb.freebsd.org/changeset/base/256199

Log:
  Initialize a variable in sys/contrib/ipfilter/netinet/ip_rcmd_pxy.c, to
  silence a gcc warning.
  
  Approved by:	re (gjb)
  X-MFC-With:	r255332

Modified:
  head/sys/contrib/ipfilter/netinet/ip_rcmd_pxy.c

Modified: head/sys/contrib/ipfilter/netinet/ip_rcmd_pxy.c
==============================================================================
--- head/sys/contrib/ipfilter/netinet/ip_rcmd_pxy.c	Wed Oct  9 17:07:20 2013	(r256198)
+++ head/sys/contrib/ipfilter/netinet/ip_rcmd_pxy.c	Wed Oct  9 17:07:50 2013	(r256199)
@@ -159,7 +159,7 @@ ipf_p_rcmd_portmsg(fin, aps, nat)
 	ip6_t *ip6;
 #endif
 	int tcpsz;
-	int slen;
+	int slen = 0; /* silence gcc */
 	ip_t *ip;
 	mb_t *m;
 



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