From: Wouter Wijngaards Date: Mon, 2 Oct 2017 12:24:48 +0000 (+0000) Subject: - Fix param unused warning for windows exportsymbol compile. X-Git-Tag: release-1.6.7rc1~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bbe5c6acf089d94377f7ed1527483bcb812a4442;p=thirdparty%2Funbound.git - Fix param unused warning for windows exportsymbol compile. git-svn-id: file:///svn/unbound/trunk@4359 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index 9f8947a9a..682dce833 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +2 October 2017: Wouter + - Fix param unused warning for windows exportsymbol compile. + 25 September 2017: Ralph - Fix #1450: Generate again patch contrib/aaaa-filter-iterator.patch (by Danilo G. Baio). diff --git a/util/data/msgreply.c b/util/data/msgreply.c index 6d80cce4c..ae2fe02b6 100644 --- a/util/data/msgreply.c +++ b/util/data/msgreply.c @@ -992,6 +992,9 @@ static int inplace_cb_reply_call_generic( { struct inplace_cb* cb; struct edns_option* opt_list_out = NULL; +#if defined(EXPORT_ALL_SYMBOLS) + (void)type; /* param not used when fptr_ok disabled */ +#endif if(qstate) opt_list_out = qstate->edns_opts_front_out; for(cb=callback_list; cb; cb=cb->next) {