]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix compile warnings in fptr_wlist.c.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 3 Jul 2024 14:42:52 +0000 (16:42 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 3 Jul 2024 14:42:52 +0000 (16:42 +0200)
doc/Changelog
util/fptr_wlist.c

index 2bc8a9dd1bb7abe9a774525602de59c664326a85..325285337e7cb7aa37bb941ffe0158b7dc1aa560 100644 (file)
@@ -8,6 +8,7 @@
        - Add unit test skip files and bison and flex output to gitignore.
        - Fix to use modstack_init in zonemd unit test.
        - Fix to remove unneeded linebreak in fptr_wlist.c.
+       - Fix compile warnings in fptr_wlist.c.
 
 2 July 2024: Wouter
        - Fix to remove unused include from the readzone test program.
index 5e278986540f6470dabbc9a19d0b111973ea3277..705dc1bbe3c4eabd741f962c11bc5ec32c2e5063 100644 (file)
@@ -453,6 +453,8 @@ fptr_whitelist_mod_startup(int (*fptr)(struct module_env* env, int id))
 {
 #ifdef USE_IPSET
        if(fptr == &ipset_startup) return 1;
+#else
+       (void)fptr;
 #endif
        return 0;
 }
@@ -462,6 +464,8 @@ fptr_whitelist_mod_destartup(void (*fptr)(struct module_env* env, int id))
 {
 #ifdef USE_IPSET
        if(fptr == &ipset_destartup) return 1;
+#else
+       (void)fptr;
 #endif
        return 0;
 }