diff --git a/dnstap/unbound-dnstap-socket.c b/dnstap/unbound-dnstap-socket.c index d530b9a89..44a0eda95 100644 --- a/dnstap/unbound-dnstap-socket.c +++ b/dnstap/unbound-dnstap-socket.c @@ -815,7 +815,7 @@ static int reply_with_accept(struct tap_data* data) return 1; #else log_err("no dnstap compiled, no reply"); - (void)fd; + (void)data; return 0; #endif }