mirror of
https://github.com/swaywm/sway.git
synced 2024-11-21 23:41:27 +00: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();
|
||||
swaynag_types_add_default(types);
|
||||
|
||||
memset(&swaynag, 0, sizeof(swaynag));
|
||||
swaynag.buttons = create_list();
|
||||
wl_list_init(&swaynag.outputs);
|
||||
wl_list_init(&swaynag.seats);
|
||||
|
|
Loading…
Reference in a new issue