From 43752a1ff8bcf9438a83931e4846070b69a7a496 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sun, 31 Mar 2024 22:28:55 -0700 Subject: [PATCH] LibGfx/JBIG2: Remove a now-unneeded void cast We've been reading `segment_page_association_size_is_32_bits` a bit further down for a while now. No behavior change. --- Userland/Libraries/LibGfx/ImageFormats/JBIG2Loader.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Userland/Libraries/LibGfx/ImageFormats/JBIG2Loader.cpp b/Userland/Libraries/LibGfx/ImageFormats/JBIG2Loader.cpp index 983b140200d..d76df40a4c6 100644 --- a/Userland/Libraries/LibGfx/ImageFormats/JBIG2Loader.cpp +++ b/Userland/Libraries/LibGfx/ImageFormats/JBIG2Loader.cpp @@ -642,8 +642,7 @@ static ErrorOr decode_segment_header(SeekableStream& stream) bool segment_page_association_size_is_32_bits = (flags & 0b100'0000) != 0; bool segment_retained_only_by_itself_and_extension_segments = (flags & 0b1000'00000) != 0; - // FIXME: Do something with these. - (void)segment_page_association_size_is_32_bits; + // FIXME: Do something with this? (void)segment_retained_only_by_itself_and_extension_segments; // 7.2.4 Referred-to segment count and retention flags