tree/view.c: fix uninitialized variables warning

This commit is contained in:
Cole Mickens 2018-10-26 22:25:11 -07:00
parent 25a8f7dcb8
commit 6414b5d288
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ void view_autoconfigure(struct sway_view *view) {
}
}
double x, y, width, height = 0;
double x = 0, y = 0, width = 0, height = 0;
switch (view->border) {
case B_CSD:
case B_NONE: