From 9684da35a45054f94c2b54822f592ece2160ec33 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Tue, 7 May 2024 23:43:04 +0200 Subject: 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. --- nx-X11/programs/Xserver/hw/nxagent/Window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nx-X11/programs') 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; -- cgit v1.2.3