mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:18:12 +00:00
AK, LibGfx, LibGUI: Initialize various variables to zero.
The not initialized variables can lead to compiler warnings that become errors with the -Werror flag.
This commit is contained in:
parent
cbf2881bf7
commit
074d935c6e
5 changed files with 10 additions and 10 deletions
|
@ -200,7 +200,7 @@ RefPtr<Gfx::Bitmap> load_gif_impl(const u8* data, size_t data_size)
|
|||
if (sentinel == 0x2c) {
|
||||
images.append(make<ImageDescriptor>());
|
||||
auto& image = images.last();
|
||||
u8 packed_fields;
|
||||
u8 packed_fields { 0 };
|
||||
stream >> image.x;
|
||||
stream >> image.y;
|
||||
stream >> image.width;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue