diff options
-rw-r--r-- | types/wlr_scene.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/types/wlr_scene.c b/types/wlr_scene.c index f9bdbe60..6a988e53 100644 --- a/types/wlr_scene.c +++ b/types/wlr_scene.c @@ -243,7 +243,7 @@ static void _scene_node_damage_whole(struct wlr_scene_node *node, lx + child->state.x, ly + child->state.y); } - int width, height; + int width = 0, height = 0; switch (node->type) { case WLR_SCENE_NODE_ROOT: return; |