From: W.C.A. Wijngaards Date: Wed, 29 Jan 2020 15:22:32 +0000 (+0100) Subject: dnstap io, fix compile warning when compiled with threading enabled. X-Git-Tag: 1.11.0rc1~120^2~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=565b3ef8cb91f665f6fb8f260b836f2069bb4bf4;p=thirdparty%2Funbound.git dnstap io, fix compile warning when compiled with threading enabled. --- diff --git a/dnstap/dtstream.c b/dnstap/dtstream.c index 9f7345b3a..2fd99a05c 100644 --- a/dnstap/dtstream.c +++ b/dnstap/dtstream.c @@ -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);