LibGfx: Initialize some uninitialized things in GIFLoader

This commit is contained in:
Andreas Kling 2020-08-20 19:41:29 +02:00
parent 079d2fe088
commit 28e34ffe38
Notes: sideshowbarker 2024-07-19 03:23:49 +09:00

View file

@ -43,13 +43,13 @@ struct RGB {
};
struct ImageDescriptor {
u16 x;
u16 y;
u16 width;
u16 height;
bool use_global_color_map;
u16 x { 0 };
u16 y { 0 };
u16 width { 0 };
u16 height { 0 };
bool use_global_color_map { true };
RGB color_map[256];
u8 lzw_min_code_size;
u8 lzw_min_code_size { 0 };
Vector<u8> lzw_encoded_bytes;
RefPtr<Gfx::Bitmap> bitmap;