Skip to content

Commit

Permalink
ci: allow unused variables on conditional code (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaseizinger authored Oct 24, 2024
1 parent 04a9655 commit b034630
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions boringtun/src/device/peer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ impl Peer {
}
}

#[cfg_attr(
not(any(target_os = "android", target_os = "fuchsia", target_os = "linux")),
allow(unused_variables)
)]
pub fn connect_endpoint(
&self,
port: u16,
Expand Down

0 comments on commit b034630

Please sign in to comment.