summaryrefslogtreecommitdiff
path: root/Libraries/LibGfx/Size.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGfx/Size.cpp')
-rw-r--r--Libraries/LibGfx/Size.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibGfx/Size.cpp b/Libraries/LibGfx/Size.cpp
index 39f6868e5d..6274e2be8f 100644
--- a/Libraries/LibGfx/Size.cpp
+++ b/Libraries/LibGfx/Size.cpp
@@ -46,8 +46,8 @@ namespace IPC {
bool decode(BufferStream& stream, Gfx::Size& size)
{
- int width;
- int height;
+ int width = 0;
+ int height = 0;
stream >> width;
stream >> height;
if (stream.handle_read_failure())