From f304589ea165adeebfb52096272d538d8f906cc7 Mon Sep 17 00:00:00 2001 From: Psychotoxical Date: Fri, 10 Apr 2026 00:15:55 +0200 Subject: [PATCH] fix(audio): suppress unused variable warning in DecodeError match arm Co-Authored-By: Claude Sonnet 4.6 --- src-tauri/src/audio.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/audio.rs b/src-tauri/src/audio.rs index f85cb24d..efd196f9 100644 --- a/src-tauri/src/audio.rs +++ b/src-tauri/src/audio.rs @@ -1149,7 +1149,7 @@ impl Iterator for SizedDecoder { self.current_frame_offset = 0; break; } - Err(symphonia::core::errors::Error::DecodeError(ref msg)) => { + Err(symphonia::core::errors::Error::DecodeError(ref _msg)) => { self.consecutive_decode_errors += 1; // Log sparingly: first drop, then every 10th to avoid spam. #[cfg(debug_assertions)]