From 9c28a0745f3cdaa2374aeb0efaa86f7a91d127b2 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Fri, 12 Feb 2016 15:31:21 +0100 Subject: [PATCH] remove warning --- miniupnpd/netfilter/iptcrdr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miniupnpd/netfilter/iptcrdr.c b/miniupnpd/netfilter/iptcrdr.c index 47e52f8..80602f9 100644 --- a/miniupnpd/netfilter/iptcrdr.c +++ b/miniupnpd/netfilter/iptcrdr.c @@ -1,4 +1,4 @@ -/* $Id: iptcrdr.c,v 1.57 2016/02/12 12:34:39 nanard Exp $ */ +/* $Id: iptcrdr.c,v 1.58 2016/02/12 14:27:46 nanard Exp $ */ /* MiniUPnP project * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ * (c) 2006-2016 Thomas Bernard @@ -1617,7 +1617,7 @@ update_portmapping(const char * ifname, unsigned short eport, int proto, struct ip_nat_multi_range * mr; const struct ipt_entry_match *match; uint32_t iaddr = 0; - unsigned short old_iport; + unsigned short old_iport = 0; h = iptc_init("nat"); if(!h)