Skip to content
Browse files

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
  • Loading branch information...
1 parent c5342bf commit 3c43c9607a3f047c556868968167920bbf3e93ab @DimitryAndric DimitryAndric committed Oct 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 sys/contrib/ipfilter/netinet/ip_rcmd_pxy.c
View
2 sys/contrib/ipfilter/netinet/ip_rcmd_pxy.c
@@ -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;

0 comments on commit 3c43c96

Please sign in to comment.
Something went wrong with that request. Please try again.