commit 6414b5d288b89c9f3ecde0757f16184071b6036f
parent 25a8f7dcb836212c8f8cd113a9eb6f46ef6efe12
Author: Cole Mickens <cole.mickens@gmail.com>
Date: Fri, 26 Oct 2018 22:25:11 -0700
tree/view.c: fix uninitialized variables warning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sway/tree/view.c b/sway/tree/view.c
@@ -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: