From 3458ef3d11da8c38793ada4bfb1479cbd1bc2b23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Kr=C3=BCger?= Date: Fri, 24 Jan 2025 11:45:28 +0100 Subject: [PATCH] Small cleanups --- iroh/src/magicsock.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iroh/src/magicsock.rs b/iroh/src/magicsock.rs index d6ee1ad956..22e6eae18b 100644 --- a/iroh/src/magicsock.rs +++ b/iroh/src/magicsock.rs @@ -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 { @@ -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))]