]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix #807: workaround for possible some "unused" function parameters
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 4 Aug 2016 07:17:53 +0000 (07:17 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 4 Aug 2016 07:17:53 +0000 (07:17 +0000)
  in test code, from Jinmei Tatuya.

git-svn-id: file:///svn/unbound/trunk@3828 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
testcode/fake_event.c

index d9922b351f63ab118a29a2a5cd6f0ce3590cb101..555725b5d77577a75977669205ed1dd38071a4dc 100644 (file)
@@ -1,3 +1,7 @@
+4 August 2016: Wouter
+       - Fix #807: workaround for possible some "unused" function parameters
+         in test code, from Jinmei Tatuya.
+
 3 August 2016: Wouter
        - use sendmsg instead of sendto for TFO.
 
index 1578b7ddca2faa3b6170db5d01c1008efde844bc..7e0d075cd0fa0afd66de2eb75c2e2c578f8e4fed 100644 (file)
@@ -1130,6 +1130,7 @@ void outnet_serviced_query_stop(struct serviced_query* sq, void* cb_arg)
        while(p) {
                if(p == pend) {
                        log_assert(p->cb_arg == cb_arg);
+                       (void)cb_arg;
                        log_info("serviced pending delete");
                        if(prev)
                                prev->next = p->next;