Skip to content

Commit

Permalink
Delete unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Litr0 committed Aug 6, 2024
1 parent aa80f21 commit 25d579b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/async_resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2036,7 +2036,6 @@ mod async_resolver_test {

resolver.save_negative_answers(dns_response.clone());

let rrtype_search = Rrtype::A;
assert_eq!(dns_response.get_answer().len(), 0);
assert_eq!(dns_response.get_additional().len(), 1);
assert_eq!(
Expand Down
2 changes: 0 additions & 2 deletions src/async_resolver/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ use crate::client::client_connection::ConnectionProtocol;
use crate::message::DnsMessage;
use crate::tsig::tsig_algorithm::TsigAlgorithm;
use std::cmp::max;
use std::io::SeekFrom;
use std::option;
use std::{net::{IpAddr,SocketAddr,Ipv4Addr}, time::Duration};

use super::server_info::ServerInfo;
Expand Down

0 comments on commit 25d579b

Please sign in to comment.