From 61d4aecb6e8da41a3e918d854bf63462807c93d8 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Mon, 28 Sep 2020 21:58:08 +0200 Subject: [PATCH] fix warning --- miniupnpd/netfilter_nft/nftpinhole.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/miniupnpd/netfilter_nft/nftpinhole.c b/miniupnpd/netfilter_nft/nftpinhole.c index 49fdbb9..f287cb1 100644 --- a/miniupnpd/netfilter_nft/nftpinhole.c +++ b/miniupnpd/netfilter_nft/nftpinhole.c @@ -211,7 +211,9 @@ delete_pinhole(unsigned short uid) int update_pinhole(unsigned short uid, unsigned int timestamp) { +#ifdef DEBUG char iaddr[INET6_ADDRSTRLEN]; +#endif char raddr[INET6_ADDRSTRLEN]; char label_start[NFT_DESCR_SIZE]; char tmp_label[NFT_DESCR_SIZE];