mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 16:06:37 +01:00
Merge pull request #2995 from colemickens/uninit-warnings
tree/view.c: fix uninitialized variables warning
This commit is contained in:
commit
e4053191e6
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
switch (view->border) {
|
||||||
case B_CSD:
|
case B_CSD:
|
||||||
case B_NONE:
|
case B_NONE:
|
||||||
|
|
Loading…
Reference in a new issue