From 84382e916b69f3a00b636af6961aaa5b0ede8697 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Mon, 16 Dec 2019 18:42:04 +0100 Subject: Clipboard.c: CLINDEX and GetXErrorString are only used for debugging --- nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c index 9707c19bd..8cc00fca0 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c @@ -186,7 +186,6 @@ const char * GetClientSelectionStageString(int stage) #else #define SetClientSelectionStage(stage) do {lastClientStage = SelectionStage##stage;} while (0) #define PrintClientSelectionStage() -#endif /* * see also nx-X11/lib/src/ErrDes.c @@ -219,6 +218,7 @@ const char * GetXErrorString(int code) default: return("UNKNOWN!"); break;; } } +#endif /* * Save the values queried from X server. @@ -1777,7 +1777,7 @@ int nxagentConvertSelection(ClientPtr client, WindowPtr pWin, Atom selection, } } - #if defined(TEST) || defined(DEBUG) + #ifdef DEBUG fprintf(stderr, "%s: client [%d] requests sel [%s] " "on window [%x] prop [%d][%s] target [%d][%s].\n", __func__, CLINDEX(client), validateString(NameForAtom(selection)), requestor, -- cgit v1.2.3