From b45e2bd95e1843a56437541f3883d4d6431b3e0c Mon Sep 17 00:00:00 2001 From: Dillen Meijboom Date: Wed, 2 May 2018 09:40:45 +0000 Subject: Fixed #1888 GCC cannot compile due to uninitialized variables (#1889) --- sway/tree/view.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sway/tree/view.c') diff --git a/sway/tree/view.c b/sway/tree/view.c index 05a9b277..87ed62c2 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c @@ -88,6 +88,7 @@ void view_autoconfigure(struct sway_view *view) { } double x, y, width, height; + x = y = width = height = 0; switch (view->border) { case B_NONE: x = view->swayc->x; -- cgit v1.2.3