- Fix warning on compile without threads.

git-svn-id: file:///svn/unbound/trunk@4855 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2018-08-16 10:28:11 +00:00
parent 3f2b6828e5
commit df85836b15
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,6 @@
16 August 2018: Wouter
- Fix warning on compile without threads.
15 August 2018: Wouter
- Fix segfault in auth-zone read and reorder of RRSIGs.

View File

@ -67,6 +67,9 @@ tcl_list_free_node(rbnode_type* node, void* ATTR_UNUSED(arg))
{
struct tcl_addr* n = (struct tcl_addr*) node;
lock_quick_destroy(&n->lock);
#ifdef THREADS_DISABLED
(void)n;
#endif
}
void