Skip to content

Commit

Permalink
Small cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
matheus23 committed Jan 24, 2025
1 parent f295c27 commit 3458ef3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iroh/src/magicsock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2165,7 +2165,7 @@ impl Actor {
}

let mut receiver_closed = false;
#[cfg_attr(wasm_browser, allow(unused))] // unused in wasm
#[cfg_attr(wasm_browser, allow(unused_mut))]
let mut portmap_watcher_closed = false;
let mut link_change_closed = false;
loop {
Expand Down Expand Up @@ -2224,7 +2224,7 @@ impl Actor {
self.msock.re_stun("portmap_updated");
}
#[cfg(wasm_browser)]
let _unused = change;
let _unused_in_browsers = change;
},
_ = direct_addr_heartbeat_timer_tick => {
#[cfg(not(wasm_browser))]
Expand Down

0 comments on commit 3458ef3

Please sign in to comment.