remove unneeded initialization to zero - svkbd - simple virtual keyboard | |
git clone git://git.suckless.org/svkbd | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 2306b8eb408ad8ea7bcb73f8bff90272e7b4b952 | |
parent 34530800bbf295b586737dc3a15336cb5a6d3c65 | |
Author: Hiltjo Posthuma <[email protected]> | |
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(-) | |
--- | |
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) |