Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mattias-p committed Dec 15, 2022
1 parent 1aa24dc commit c818eff
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/resolver/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ impl ResolveError {
// TODO: if authoritative, this is cacheable, store a TTL (currently that requires time, need a "now" here)
// let valid_until = if response.is_authoritative() { now + response.get_negative_ttl() };

let response = response;
let soa = response.soa().cloned();
let negative_ttl = response.negative_ttl();
let trusted = if response_code == ResponseCode::NoError { false } else { trust_nx };
Expand Down

0 comments on commit c818eff

Please sign in to comment.