summaryrefslogtreecommitdiffstats
path: root/x11vnc/xrecord.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/xrecord.c')
-rw-r--r--x11vnc/xrecord.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/xrecord.c b/x11vnc/xrecord.c
index 21b7d61..7162167 100644
--- a/x11vnc/xrecord.c
+++ b/x11vnc/xrecord.c
@@ -408,7 +408,7 @@ int xrecord_scroll_keysym(rfbKeySym keysym) {
}
static int lookup_attr_cache(Window win, int *cache_index, int *next_index) {
- double now, t, oldest;
+ double now, t, oldest = 0.0;
int i, old_index = -1, count = 0;
Window cwin;