Commit e4a397ed authored by runge's avatar runge

a couple more warnings...

parent 5c9ba4bb
x11vnc README file Date: Thu Dec 28 14:49:09 EST 2006 x11vnc README file Date: Thu Dec 28 15:22:02 EST 2006
The following information is taken from these URLs: The following information is taken from these URLs:
......
...@@ -5460,7 +5460,7 @@ fprintf(stderr, "check_wireframe: 1\n"); ...@@ -5460,7 +5460,7 @@ fprintf(stderr, "check_wireframe: 1\n");
#if defined(NO_NCACHE) || (NO_X11 && !defined(MACOSX)) #if defined(NO_NCACHE) || (NO_X11 && !defined(MACOSX))
int check_ncache(int a, int b) { int check_ncache(int a, int b) {
if (!a || !b) {} if (!a || !b) {}
return; return 0;
} }
int lookup_win_index(Window win) { int lookup_win_index(Window win) {
if (!win) {} if (!win) {}
......
...@@ -205,6 +205,10 @@ void snapshot_stack_list(int free_only, double allowed_age) { ...@@ -205,6 +205,10 @@ void snapshot_stack_list(int free_only, double allowed_age) {
#endif #endif
#if NO_X11 && !defined(MACOSX) #if NO_X11 && !defined(MACOSX)
num = rc = i = j = 0;
ui = 0;
r = w = None;
list = NULL;
return; return;
#else #else
...@@ -341,7 +345,7 @@ Window query_pointer(Window start) { ...@@ -341,7 +345,7 @@ Window query_pointer(Window start) {
RAWFB_RET(None) RAWFB_RET(None)
#if NO_X11 #if NO_X11
if (!start) {} if (!start) { rx = ry = 0; }
return None; return None;
#else #else
if (start == None) { if (start == None) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment