mirror of
https://github.com/swaywm/sway.git
synced 2024-12-27 23:47:21 +01:00
swaynag: remove unnecessary zero of swaynag struct
Global variables are initialized to 0.
This commit is contained in:
parent
4780afb68b
commit
20729a6a5e
1 changed files with 0 additions and 1 deletions
|
@ -25,7 +25,6 @@ int main(int argc, char **argv) {
|
||||||
list_t *types = create_list();
|
list_t *types = create_list();
|
||||||
swaynag_types_add_default(types);
|
swaynag_types_add_default(types);
|
||||||
|
|
||||||
memset(&swaynag, 0, sizeof(swaynag));
|
|
||||||
swaynag.buttons = create_list();
|
swaynag.buttons = create_list();
|
||||||
wl_list_init(&swaynag.outputs);
|
wl_list_init(&swaynag.outputs);
|
||||||
wl_list_init(&swaynag.seats);
|
wl_list_init(&swaynag.seats);
|
||||||
|
|
Loading…
Reference in a new issue