From b8bfefd130eb26d08cb2aca5fbda36f88019afb1 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sun, 8 Jan 2023 13:14:23 -0500 Subject: [PATCH] LibGfx: Add initializer for ICC::DistinctFourCC These are currently only used in Optional<>s, so this is no effective behavior change. --- Userland/Libraries/LibGfx/ICCProfile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibGfx/ICCProfile.h b/Userland/Libraries/LibGfx/ICCProfile.h index 585aa1d619..4d8f2d143f 100644 --- a/Userland/Libraries/LibGfx/ICCProfile.h +++ b/Userland/Libraries/LibGfx/ICCProfile.h @@ -27,7 +27,7 @@ enum class FourCCType { template struct DistinctFourCC { - u32 value; + u32 value { 0 }; char c0() const { return value >> 24; } char c1() const { return (value >> 16) & 0xff; }