diff options
author | Cole Mickens <cole.mickens@gmail.com> | 2018-10-26 22:25:11 -0700 |
---|---|---|
committer | Cole Mickens <cole.mickens@gmail.com> | 2018-10-26 22:25:11 -0700 |
commit | 6414b5d288b89c9f3ecde0757f16184071b6036f (patch) | |
tree | 4a55e9fefd560620b16c8c39fd367f7a46fadfb9 /sway/tree | |
parent | 25a8f7dcb836212c8f8cd113a9eb6f46ef6efe12 (diff) |
tree/view.c: fix uninitialized variables warning
Diffstat (limited to 'sway/tree')
-rw-r--r-- | sway/tree/view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index 5a1b2e37..cf67acbb 100644 --- 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: |