remove unneeded initialization to zero - svkbd - simple virtual keyboard
(HTM) git clone git://git.suckless.org/svkbd
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 2306b8eb408ad8ea7bcb73f8bff90272e7b4b952
(DIR) parent 34530800bbf295b586737dc3a15336cb5a6d3c65
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 13 Jun 2021 22:35:16 +0200
remove unneeded initialization to zero
This removes a warning when compiling with -Wall (tested with clang 11.1.0).
Diffstat:
M svkbd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git 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)