From 32f19815202fba40431916e2c5741f7b1e29c0f2 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Thu, 10 Sep 2015 16:01:26 +0200 Subject: [PATCH] ipfwrdr.c: remove unused argument warnings --- miniupnpd/ipfw/ipfwrdr.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/miniupnpd/ipfw/ipfwrdr.c b/miniupnpd/ipfw/ipfwrdr.c index c2d3e9e..4f59ada 100644 --- a/miniupnpd/ipfw/ipfwrdr.c +++ b/miniupnpd/ipfw/ipfwrdr.c @@ -9,6 +9,7 @@ */ #include "../config.h" +#include "../macros.h" #include #include @@ -327,6 +328,13 @@ int add_filter_rule2( int proto, const char * desc) { + UNUSED(ifname); + UNUSED(rhost); + UNUSED(iaddr); + UNUSED(eport); + UNUSED(iport); + UNUSED(proto); + UNUSED(desc); return 0; /* nothing to do, always success */ } @@ -335,6 +343,9 @@ int delete_filter_rule( unsigned short eport, int proto) { + UNUSED(ifname); + UNUSED(eport); + UNUSED(proto); return 0; /* nothing to do, always success */ }