- Fix param unused warning for windows exportsymbol compile.

git-svn-id: file:///svn/unbound/trunk@4359 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2017-10-02 12:24:48 +00:00
parent 5e4faec554
commit bbe5c6acf0
2 changed files with 6 additions and 0 deletions

View file

@ -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).

View file

@ -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) {