mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 20:44:01 +01:00
swaynag: remove unnecessary zero of swaynag struct
Global variables are initialized to 0.
This commit is contained in:
parent
4780afb68b
commit
20729a6a5e
@ -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 New Issue
Block a user