1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 10:18:13 +00:00

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.
This commit is contained in:
Nico Weber 2024-01-14 18:38:57 -05:00 committed by Andrew Kaster
parent 58b5181364
commit 5efe38ccd7

View file

@ -447,7 +447,7 @@ struct JPEGLoadingContext {
Array<Optional<Array<u16, 64>>, 4> quantization_tables {};
StartOfFrame frame;
SamplingFactors sampling_factors { 0 };
SamplingFactors sampling_factors {};
Optional<Scan> current_scan {};