From 2306b8eb408ad8ea7bcb73f8bff90272e7b4b952 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sun, 13 Jun 2021 22:35:16 +0200 Subject: [PATCH] remove unneeded initialization to zero This removes a warning when compiling with -Wall (tested with clang 11.1.0). --- svkbd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/svkbd.c b/svkbd.c index 0ad1836..44f5bb3 100644 --- a/svkbd.c +++ b/svkbd.c @@ -136,8 +136,8 @@ Bool sigtermd = False; #endif #include LAYOUT -static Key keys[KEYS] = { NULL }; -static Key* layers[LAYERS]; +static Key keys[KEYS]; +static Key *layers[LAYERS]; void motionnotify(XEvent *e)