From ae9bec1bc3e4fc4b23d48d6c7e375c901c490683 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Wed, 28 May 2014 17:31:16 +0200 Subject: [PATCH] Initialize temp_rect Signed-off-by: Sebastian Ramacher --- dbus-interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbus-interface.c b/dbus-interface.c index f628bf5..e9409ab 100644 --- a/dbus-interface.c +++ b/dbus-interface.c @@ -322,7 +322,7 @@ handle_method_call(GDBusConnection* UNUSED(connection), return; } - zathura_rectangle_t temp_rect; + zathura_rectangle_t temp_rect = { 0, 0, 0, 0 }; while (g_variant_iter_loop(iter, "(dddd)", &temp_rect.x1, &temp_rect.x2, &temp_rect.y1, &temp_rect.y2)) { zathura_rectangle_t* rect = g_try_malloc0(sizeof(zathura_rectangle_t));