From d4f6ddb0fa9d7604552a2b152778a8a94ce025d3 Mon Sep 17 00:00:00 2001 From: Valmo Trindade Date: Tue, 17 Jun 2025 01:38:43 -0300 Subject: [PATCH] linted linux block because now i actually have to care about linux --- src/video_stream.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/video_stream.rs b/src/video_stream.rs index 18aadbf..a1c5c69 100644 --- a/src/video_stream.rs +++ b/src/video_stream.rs @@ -26,7 +26,7 @@ pub fn start_stream( ) -> &'static str { #[cfg(target_os = "linux")] { - ctx.callback_null( + _ = ctx.callback_null( "VIDEO ERROR", "Screen capture is only supported on Windows", ); @@ -74,12 +74,11 @@ pub fn start_stream( } Err(e) => { let _ = status_tx.send(Err(format!("Failed to start FFmpeg: {}", e))); - // Return early, nothing else to do } } }); - // Save the stop channel so we can stop later + // Save the stop channel match STREAM_CTRL.lock() { Ok(mut lock) => *lock = Some(stop_tx), Err(e) => {