mirror of git://git.suckless.org/svkbd
no need to initialize these variables here
This commit is contained in:
parent
2a2acdacaa
commit
4c9182636c
6
svkbd.c
6
svkbd.c
|
@ -661,8 +661,8 @@ run(void)
|
||||||
int xfd;
|
int xfd;
|
||||||
fd_set fds;
|
fd_set fds;
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
double duration = 0.0;
|
double duration;
|
||||||
int overlayidx = -1;
|
int overlayidx;
|
||||||
int i, r;
|
int i, r;
|
||||||
|
|
||||||
xfd = ConnectionNumber(dpy);
|
xfd = ConnectionNumber(dpy);
|
||||||
|
@ -958,7 +958,7 @@ updatekeys(void)
|
||||||
{
|
{
|
||||||
int i, j;
|
int i, j;
|
||||||
double base;
|
double base;
|
||||||
int x = 0, y = 0, h, r = rows;
|
int x, y = 0, h, r = rows;
|
||||||
|
|
||||||
h = (wh - 1) / rows;
|
h = (wh - 1) / rows;
|
||||||
for (i = 0; i < numkeys; i++, r--) {
|
for (i = 0; i < numkeys; i++, r--) {
|
||||||
|
|
Loading…
Reference in New Issue