commit b45e2bd95e1843a56437541f3883d4d6431b3e0c
parent fe9cc21ea70dc1a37cfadcb07b0abba3c5967211
Author: Dillen Meijboom <info@dmeijboom.nl>
Date: Wed, 2 May 2018 09:40:45 +0000
Fixed #1888 GCC cannot compile due to uninitialized variables (#1889)
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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;