no need to initialize these variables here - svkbd - simple virtual keyboard
(HTM) git clone git://git.suckless.org/svkbd
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 4c9182636c4db00eb8bfa92571f7917ad974b628
(DIR) parent 2a2acdacaa3655819af6ea308ffee98dbedb33f9
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 3 Jul 2021 11:45:15 +0200
no need to initialize these variables here
Diffstat:
M svkbd.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
(DIR) diff --git 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--) {