mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:27:35 +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
|
@ -352,7 +352,7 @@ const LogStream& operator<<(const LogStream& stream, Color value)
|
|||
|
||||
bool IPC::decode(BufferStream& stream, Color& color)
|
||||
{
|
||||
u32 rgba;
|
||||
u32 rgba = 0;
|
||||
stream >> rgba;
|
||||
if (stream.handle_read_failure())
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue