mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-29 10:59:35 -05:00
dnstap io, fix compile warning when compiled with threading enabled.
This commit is contained in:
parent
af252929e8
commit
565b3ef8cb
1 changed files with 1 additions and 0 deletions
|
|
@ -1302,6 +1302,7 @@ int dt_io_thread_start(struct dt_io_thread* dtio, void* event_base_nothr)
|
|||
dtio->started = 1;
|
||||
#ifndef THREADS_DISABLED
|
||||
ub_thread_create(&dtio->tid, dnstap_io, dtio);
|
||||
(void)event_base_nothr;
|
||||
#else
|
||||
dtio->event_base = event_base_nothr;
|
||||
dtio_setup_cmd(dtio);
|
||||
|
|
|
|||
Loading…
Reference in a new issue