]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix param unused warning for windows exportsymbol compile.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 2 Oct 2017 12:24:48 +0000 (12:24 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 2 Oct 2017 12:24:48 +0000 (12:24 +0000)
git-svn-id: file:///svn/unbound/trunk@4359 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
util/data/msgreply.c

index 9f8947a9a93145c0f5df8118dea2a61284ea4960..682dce83376a916df5ff613a4f42194de955006e 100644 (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).
index 6d80cce4cb500d55460dcb04c4f53c79b1b34c6e..ae2fe02b6d7c672ea6cb7bc873a8b1426c58e129 100644 (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) {