- Fix compile warnings in fptr_wlist.c.

This commit is contained in:
W.C.A. Wijngaards 2024-07-03 16:42:52 +02:00
parent 6eb3992c9e
commit 6b319c97ee
2 changed files with 5 additions and 0 deletions

View 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.

View 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;
}