From 20729a6a5e4a2a424b7c176f2914927266335594 Mon Sep 17 00:00:00 2001 From: Nihal Jere Date: Mon, 28 Feb 2022 17:23:14 -0600 Subject: [PATCH] swaynag: remove unnecessary zero of swaynag struct Global variables are initialized to 0. --- swaynag/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/swaynag/main.c b/swaynag/main.c index f7bf8a20..3b099e8c 100644 --- a/swaynag/main.c +++ b/swaynag/main.c @@ -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);