mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 23:26:00 +01:00
Initialize temp_rect
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
86b5d1d0a2
commit
ae9bec1bc3
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue