From 5c768be43c7cca024a494671eb8af90fb63b9cfa Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 11 Nov 2024 16:57:55 +0100 Subject: [PATCH] clippy --- crates/tx5-go-pion-sys/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/tx5-go-pion-sys/src/lib.rs b/crates/tx5-go-pion-sys/src/lib.rs index 1ad6febb..94789ba9 100644 --- a/crates/tx5-go-pion-sys/src/lib.rs +++ b/crates/tx5-go-pion-sys/src/lib.rs @@ -324,7 +324,7 @@ impl Api { } // need to forget it every time, otherwise drop will run - Box::into_raw(closure); + let _ = Box::into_raw(closure); return; } TY_PEER_CON_ON_ICE_CANDIDATE => Event::PeerConICECandidate { @@ -356,7 +356,7 @@ impl Api { closure(evt); // need to forget it every time, otherwise drop will run - Box::into_raw(closure); + let _ = Box::into_raw(closure); } let cb: DynCb = Box::new(Arc::new(cb));