This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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
  • Loading branch information...
DimitryAndric committed Oct 10, 2013
1 parent 0b5457b commit 981609eebab29132c522028ba3265970ad0bfac0
Showing with 1 addition and 1 deletion.
  1. +1 −1 sys/contrib/ipfilter/netinet/ip_tftp_pxy.c
@@ -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;

0 comments on commit 981609e

Please sign in to comment.