[X2Go-Commits] [nx-libs] 201/429: Window.c: suppress warning

git-admin at x2go.org git-admin at x2go.org
Mon Oct 18 09:36:31 CEST 2021


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

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

commit 669299de3594e46fd67a84066be4b78f83cb6f00
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Mon Jan 4 14:57:32 2021 +0100

    Window.c: suppress warning
    
    This used to be printed only in TEST mode. Some while ago I had
    changed that to WARNING (because it is a warning...). However, this
    happens e.g. when running the xscreensaver vfeedback module and it
    does not look like it is a problem at all. So let's suppress this
    warning again and leave it to the TEST mode as it used to be.
---
 nx-X11/programs/Xserver/hw/nxagent/Window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nx-X11/programs/Xserver/hw/nxagent/Window.c b/nx-X11/programs/Xserver/hw/nxagent/Window.c
index 841ee3888..d95f8f3ed 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Window.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c
@@ -3922,7 +3922,7 @@ StoringPixmapPtr nxagentFindItemBSPixmapList(unsigned long pixmapId)
     }
   }
 
-  #ifdef WARNING
+  #ifdef TEST
   fprintf(stderr, "%s: WARNING! Item not found.\n", __func__);
   #endif
 

--
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