commit 4c9182636c4db00eb8bfa92571f7917ad974b628
Author:     Hiltjo Posthuma <[email protected]>
AuthorDate: Sat Jul 3 11:45:15 2021 +0200
Commit:     Hiltjo Posthuma <[email protected]>
CommitDate: Sat Jul 3 11:45:15 2021 +0200

    no need to initialize these variables here

diff --git a/svkbd.c b/svkbd.c
index c72f059..875a0b5 100644
--- a/svkbd.c
+++ b/svkbd.c
@@ -661,8 +661,8 @@ run(void)
        int xfd;
        fd_set fds;
        struct timeval tv;
-       double duration = 0.0;
-       int overlayidx = -1;
+       double duration;
+       int overlayidx;
        int i, r;
 
        xfd = ConnectionNumber(dpy);
@@ -958,7 +958,7 @@ updatekeys(void)
 {
        int i, j;
        double base;
-       int x = 0, y = 0, h, r = rows;
+       int x, y = 0, h, r = rows;
 
        h = (wh - 1) / rows;
        for (i = 0; i < numkeys; i++, r--) {

Reply via email to