Commit ae9bec1b authored by Sebastian Ramacher's avatar Sebastian Ramacher

Initialize temp_rect

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent 86b5d1d0
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment