diff options
author | Ryan Dwyer <RyanDwyer@users.noreply.github.com> | 2018-10-27 15:58:37 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-27 15:58:37 +1000 |
commit | e4053191e6e62b454b96f2cd8b3b17eb2b9eadd1 (patch) | |
tree | 4a55e9fefd560620b16c8c39fd367f7a46fadfb9 /sway | |
parent | 25a8f7dcb836212c8f8cd113a9eb6f46ef6efe12 (diff) | |
parent | 6414b5d288b89c9f3ecde0757f16184071b6036f (diff) |
Merge pull request #2995 from colemickens/uninit-warnings
tree/view.c: fix uninitialized variables warning
Diffstat (limited to 'sway')
-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: |