diff options
author | runge <runge> | 2006-12-28 17:57:10 +0000 |
---|---|---|
committer | runge <runge> | 2006-12-28 17:57:10 +0000 |
commit | f9baaf1ee49e7889808b1f058a5f348a9cd5f027 (patch) | |
tree | 67b130f468967c942662f620950e188672d84e60 /x11vnc/cursor.c | |
parent | 99a557d673ac4444532ac7025cb479a229ea7fb3 (diff) | |
download | libtdevnc-f9baaf1ee49e7889808b1f058a5f348a9cd5f027.tar.gz libtdevnc-f9baaf1ee49e7889808b1f058a5f348a9cd5f027.zip |
more compiler warnings cleanup.
Diffstat (limited to 'x11vnc/cursor.c')
-rw-r--r-- | x11vnc/cursor.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/x11vnc/cursor.c b/x11vnc/cursor.c index ab9218c..54ac152 100644 --- a/x11vnc/cursor.c +++ b/x11vnc/cursor.c @@ -6,6 +6,7 @@ #include "screen.h" #include "scan.h" #include "unixpw.h" +#include "macosx.h" int xfixes_present = 0; int use_xfixes = 1; @@ -1460,10 +1461,10 @@ int get_which_cursor(void) { int db = 0; if (show_multiple_cursors) { - int depth; + int depth = 0; static win_str_info_t winfo; static int first = 1, depth_cutoff = -1; - Window win; + Window win = None; XErrorHandler old_handler; int mode = 0; |