Skip to content

Commit 5efe38c

Browse files
nicoADKaster
authored andcommitted
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.
1 parent 58b5181 commit 5efe38c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Userland/Libraries/LibGfx/ImageFormats/JPEGLoader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ struct JPEGLoadingContext {
447447
Array<Optional<Array<u16, 64>>, 4> quantization_tables {};
448448

449449
StartOfFrame frame;
450-
SamplingFactors sampling_factors { 0 };
450+
SamplingFactors sampling_factors {};
451451

452452
Optional<Scan> current_scan {};
453453

0 commit comments

Comments
 (0)