diff --git a/lib/dns/dnstap.c b/lib/dns/dnstap.c index 072735b311..b475174e33 100644 --- a/lib/dns/dnstap.c +++ b/lib/dns/dnstap.c @@ -339,7 +339,7 @@ destroy(dns_dtenv_t *env) { void dns_dt_detach(dns_dtenv_t **envp) { unsigned int refs; - dns_dtenv_t *env = *envp; + dns_dtenv_t *env; REQUIRE(envp != NULL && VALID_DTENV(*envp));