Skip to content

Commit

Permalink
Merge pull request #1949 from etungsten/dead-code-warning
Browse files Browse the repository at this point in the history
netdog: add attribute to ignore compiler dead-code warning
  • Loading branch information
etungsten authored Feb 10, 2022
2 parents 9749af9 + 12234da commit aeec3aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sources/api/netdog/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ lazy_static! {

/// Stores fields extracted from a DHCP lease.
#[derive(Debug, Deserialize)]
#[allow(dead_code)]
struct LeaseInfo {
#[serde(rename = "ipaddr")]
ip_address: IpNet,
Expand Down

0 comments on commit aeec3aa

Please sign in to comment.