From b3247578ed2655be4c8576b68305b2b3fc1b5109 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Sat, 26 Feb 2022 20:52:35 -0800 Subject: [PATCH] MAD Decoder: Comment out unused variable A variable wasn't being used, except in debug builds. Comment out its use and only skip over the field in the LAME header. Signed-off-by: Christopher Snowhill --- Plugins/MAD/MADDecoder.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/MAD/MADDecoder.m b/Plugins/MAD/MADDecoder.m index 7866d3ef9..3142d32c7 100644 --- a/Plugins/MAD/MADDecoder.m +++ b/Plugins/MAD/MADDecoder.m @@ -334,8 +334,8 @@ /*uint8_t misc =*/mad_bit_read(&stream.anc_ptr, 8); - uint8_t mp3Gain = mad_bit_read(&stream.anc_ptr, 8); - DLog(@"Gain: %i", mp3Gain); + /*uint8_t mp3Gain =*/mad_bit_read(&stream.anc_ptr, 8); + /*DLog(@"Gain: %i", mp3Gain);*/ /*uint8_t unused =*/mad_bit_read(&stream.anc_ptr, 2); /*uint8_t surroundInfo =*/mad_bit_read(&stream.anc_ptr, 3);