diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2018-10-27 00:19:33 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-10-27 21:04:50 +0200 |
commit | df531c16fd413e2b573dbb0818edd2f045fed38a (patch) | |
tree | 0e78faeea0789af72ade4cfbdd846028d7065543 /nx-X11/programs/Xserver | |
parent | 9e6e431376698f0bd20b785ff902941ed78262f8 (diff) | |
download | nx-libs-df531c16fd413e2b573dbb0818edd2f045fed38a.tar.gz nx-libs-df531c16fd413e2b573dbb0818edd2f045fed38a.tar.bz2 nx-libs-df531c16fd413e2b573dbb0818edd2f045fed38a.zip |
Window.c: silence compiler warnings
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Window.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Window.c b/nx-X11/programs/Xserver/hw/nxagent/Window.c index 1997859af..907b3dfb3 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Window.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c @@ -2660,7 +2660,10 @@ void nxagentDisconnectWindow(void * p0, XID x1, void * p2) Bool nxagentReconnectAllWindows(void *p0) { - int flexibility = *(int *) p0; + /* + access the parameter like this if this function needs it in future: + int flexibility = *(int *) p0; + */ #if defined(NXAGENT_RECONNECT_DEBUG) || defined(NXAGENT_RECONNECT_WINDOW_DEBUG) fprintf(stderr, "nxagentReconnectAllWindows\n"); @@ -2770,7 +2773,10 @@ Bool nxagentReconnectAllWindows(void *p0) Bool nxagentSetWindowCursors(void *p0) { - int flexibility = *(int *) p0; + /* + access the parameter like this if this function needs it in future: + int flexibility = *(int *) p0; + */ #if defined(NXAGENT_RECONNECT_DEBUG) || defined(NXAGENT_RECONNECT_WINDOW_DEBUG) fprintf(stderr, "nxagentSetWindowCursors: Going to loop over the windows.\n"); |