1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 02:27:43 +00:00

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

View file

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