From 5fb5066e8990c349bbecee976934f1eb0b228bdb Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Thu, 1 May 2025 11:24:13 -0400 Subject: [PATCH] LibWeb: Initialize plain boolean in ClipboardItem::Representation --- Libraries/LibWeb/Clipboard/ClipboardItem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/LibWeb/Clipboard/ClipboardItem.h b/Libraries/LibWeb/Clipboard/ClipboardItem.h index 8e24942cab2..9178f7d81a9 100644 --- a/Libraries/LibWeb/Clipboard/ClipboardItem.h +++ b/Libraries/LibWeb/Clipboard/ClipboardItem.h @@ -34,7 +34,7 @@ class ClipboardItem : public Bindings::PlatformObject { public: struct Representation { String mime_type; // The MIME type (e.g., "text/plain"). - bool is_custom; // Whether this is a web custom format. + bool is_custom { false }; // Whether this is a web custom format. GC::Ref data; // The actual data for this representation. };