swaynag: remove unnecessary zero of swaynag struct

Global variables are initialized to 0.
master
Nihal Jere 3 years ago committed by Simon Ser
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…
Cancel
Save