Skip to content

Commit

Permalink
delete unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Litr0 committed Jul 25, 2024
1 parent 6e8e030 commit 1af18b6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/async_resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1af18b6

Please sign in to comment.