summaryrefslogtreecommitdiffstats
path: root/x11vnc/win_utils.c
diff options
context:
space:
mode:
authorrunge <runge>2006-12-28 20:26:27 +0000
committerrunge <runge>2006-12-28 20:26:27 +0000
commite4a397ed13a2c6eb9d2da7870165e7ecdc67f461 (patch)
tree2f868d105d3135e045fc9e5f6f79cc1d0e5cd9ae /x11vnc/win_utils.c
parent5c9ba4bb035255956dd176b285df3a81bafa02e3 (diff)
downloadlibtdevnc-e4a397ed13a2c6eb9d2da7870165e7ecdc67f461.tar.gz
libtdevnc-e4a397ed13a2c6eb9d2da7870165e7ecdc67f461.zip
a couple more warnings...
Diffstat (limited to 'x11vnc/win_utils.c')
-rw-r--r--x11vnc/win_utils.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11vnc/win_utils.c b/x11vnc/win_utils.c
index 9f70349..2e5449e 100644
--- a/x11vnc/win_utils.c
+++ b/x11vnc/win_utils.c
@@ -205,6 +205,10 @@ void snapshot_stack_list(int free_only, double allowed_age) {
#endif
#if NO_X11 && !defined(MACOSX)
+ num = rc = i = j = 0;
+ ui = 0;
+ r = w = None;
+ list = NULL;
return;
#else
@@ -341,7 +345,7 @@ Window query_pointer(Window start) {
RAWFB_RET(None)
#if NO_X11
- if (!start) {}
+ if (!start) { rx = ry = 0; }
return None;
#else
if (start == None) {