diff --git a/src/async_resolver.rs b/src/async_resolver.rs index 3a150a9f..8495155f 100644 --- a/src/async_resolver.rs +++ b/src/async_resolver.rs @@ -313,7 +313,6 @@ impl AsyncResolver { /// answer section, it is always preferred. fn store_data_cache(&self, response: DnsMessage) { let truncated = response.get_header().get_tc(); - let rcode = response.get_header().get_rcode(); { let mut cache = self.cache.lock().unwrap(); cache.timeout();