aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2024-05-07 23:43:04 +0200
committerUlrich Sibiller <uli42@gmx.de>2024-05-20 01:27:00 +0200
commit9684da35a45054f94c2b54822f592ece2160ec33 (patch)
treed962e2f9dc923ffef65dabc0089f89c131bc65e2 /nx-X11/programs
parent2fd776888346797a085ca493d111fbac791cb461 (diff)
downloadnx-libs-9684da35a45054f94c2b54822f592ece2160ec33.tar.gz
nx-libs-9684da35a45054f94c2b54822f592ece2160ec33.tar.bz2
nx-libs-9684da35a45054f94c2b54822f592ece2160ec33.zip
Window.c: mark nxagentCheckWindowIntegrity as unused
'cause that's what it is. But as this seems to be a handy debug helper we'll leave it instead of dropping it. Marking it as unused silences a compiler warning.
Diffstat (limited to 'nx-X11/programs')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Window.c b/nx-X11/programs/Xserver/hw/nxagent/Window.c
index 1efe491e3..b84c71c10 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Window.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c
@@ -167,7 +167,7 @@ nxagentWMStateRec;
*/
#ifdef TEST
-static Bool nxagentCheckWindowIntegrity(WindowPtr pWin);
+static _X_UNUSED Bool nxagentCheckWindowIntegrity(WindowPtr pWin);
#endif
WindowPtr nxagentGetWindowFromID(Window id)
@@ -3317,7 +3317,7 @@ Bool nxagentCheckIllegalRootMonitoring(WindowPtr pWin, Mask mask)
}
#ifdef TEST
-Bool nxagentCheckWindowIntegrity(WindowPtr pWin)
+static _X_UNUSED Bool nxagentCheckWindowIntegrity(WindowPtr pWin)
{
Bool integrity = True;