swaynag: remove unnecessary zero of swaynag struct

Global variables are initialized to 0.
This commit is contained in:
Nihal Jere 2022-02-28 17:23:14 -06:00 committed by Simon Ser
parent 4780afb68b
commit 20729a6a5e

View file

@ -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);