From 5efe38ccd7ae4e030c3b2976eac003f75a7c7c5c Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sun, 14 Jan 2024 18:38:57 -0500 Subject: [PATCH] LibGfx/JPEG: Remove a silly initializer SamplingFactors already has default initializers for its field, so no need to have an explicit one for the first of the two fields. No behavior change. --- Userland/Libraries/LibGfx/ImageFormats/JPEGLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibGfx/ImageFormats/JPEGLoader.cpp b/Userland/Libraries/LibGfx/ImageFormats/JPEGLoader.cpp index d869cdfd37..4dad923a9d 100644 --- a/Userland/Libraries/LibGfx/ImageFormats/JPEGLoader.cpp +++ b/Userland/Libraries/LibGfx/ImageFormats/JPEGLoader.cpp @@ -447,7 +447,7 @@ struct JPEGLoadingContext { Array>, 4> quantization_tables {}; StartOfFrame frame; - SamplingFactors sampling_factors { 0 }; + SamplingFactors sampling_factors {}; Optional current_scan {};