Fixed #1888 GCC cannot compile due to uninitialized variables (#1889)

master
Dillen Meijboom 7 years ago committed by emersion
parent fe9cc21ea7
commit b45e2bd95e

@ -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;

Loading…
Cancel
Save