commit 2306b8eb408ad8ea7bcb73f8bff90272e7b4b952
Author:     Hiltjo Posthuma <[email protected]>
AuthorDate: Sun Jun 13 22:35:16 2021 +0200
Commit:     Hiltjo Posthuma <[email protected]>
CommitDate: Sun Jun 13 22:35:16 2021 +0200

    remove unneeded initialization to zero
    
    This removes a warning when compiling with -Wall (tested with clang 11.1.0).

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)

Reply via email to