aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Pixmap.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Pixmap.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c b/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c
index 371678d0e..5358bd37e 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c
@@ -699,6 +699,7 @@ Bool nxagentDisconnectAllPixmaps(void)
#ifdef WARNING
+ /* Note: nxagentDisconnectPixmap() does not modify r - so this check can never succeed */
if (r == 0)
{
fprintf(stderr, "nxagentDisconnectAllPixmaps: WARNING! Failed to disconnect "
@@ -719,6 +720,7 @@ Bool nxagentDisconnectAllPixmaps(void)
#ifdef WARNING
+ /* Note: nxagentDisconnectPixmap() does not modify r - so this check can never succeed */
if (r == 0)
{
fprintf(stderr, "nxagentDisconnectAllPixmaps: WARNING! Failed to disconnect "
@@ -729,16 +731,6 @@ Bool nxagentDisconnectAllPixmaps(void)
}
}
- #ifdef WARNING
-
- if (r == 0)
- {
- fprintf(stderr, "nxagentDisconnectAllPixmaps: WARNING! Failed to disconnect "
- "pixmap for client [%d].\n", i);
- }
-
- #endif
-
#ifdef TEST
fprintf(stderr, "nxagentDisconnectAllPixmaps: Pixmaps disconnection completed.\n");
#endif