diff options
author | Nihal Jere <nihal@nihaljere.xyz> | 2022-02-28 17:23:14 -0600 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-03-15 11:40:32 +0100 |
commit | 20729a6a5e4a2a424b7c176f2914927266335594 (patch) | |
tree | ee9fa0bdb497cbb667f4351badba4216c5090c40 | |
parent | 4780afb68b4ee2cdf0e4925f40cf885819f8a74a (diff) |
swaynag: remove unnecessary zero of swaynag struct
Global variables are initialized to 0.
-rw-r--r-- | swaynag/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |