[X2Go-Commits] [nx-libs] 70/108: Window.c: silence compiler warnings

git-admin at x2go.org git-admin at x2go.org
Fri Nov 9 20:35:50 CET 2018


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository nx-libs.

commit df531c16fd413e2b573dbb0818edd2f045fed38a
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Sat Oct 27 00:19:33 2018 +0200

    Window.c: silence compiler warnings
---
 nx-X11/programs/Xserver/hw/nxagent/Window.c | 10 ++++++++--
 1 file 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 1997859..907b3df 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");

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list