mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25: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:
committed by
Andreas Kling
parent
cbf2881bf7
commit
074d935c6e
@@ -46,8 +46,8 @@ namespace IPC {
|
||||
|
||||
bool decode(BufferStream& stream, Gfx::Point& point)
|
||||
{
|
||||
int x;
|
||||
int y;
|
||||
int x = 0;
|
||||
int y = 0;
|
||||
stream >> x;
|
||||
stream >> y;
|
||||
if (stream.handle_read_failure())
|
||||
|
||||
Reference in New Issue
Block a user