aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2024-05-01 16:00:44 +0200
committerUlrich Sibiller <uli42@gmx.de>2024-05-11 18:53:27 +0200
commit3cad7422928a3da1ba5913046d0c8c3affa1170a (patch)
tree42c01b51e0294f81766d40c4ac223578a6ecc153 /nx-X11
parent9c2ee1bbe0c2590e263cb46c82d4fc7b3649918f (diff)
downloadnx-libs-3cad7422928a3da1ba5913046d0c8c3affa1170a.tar.gz
nx-libs-3cad7422928a3da1ba5913046d0c8c3affa1170a.tar.bz2
nx-libs-3cad7422928a3da1ba5913046d0c8c3affa1170a.zip
Literals.h: mark with _X_UNUSED to prevent "unused" warnings
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Literals.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Literals.h b/nx-X11/programs/Xserver/hw/nxagent/Literals.h
index cd298ce15..c25f22782 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Literals.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Literals.h
@@ -29,7 +29,7 @@
* opcode to the name of the X request.
*/
-static char *nxagentRequestLiteral[] =
+_X_UNUSED static char *nxagentRequestLiteral[] =
{
"None",
"CreateWindow",
@@ -161,7 +161,7 @@ static char *nxagentRequestLiteral[] =
"NoOperation"
};
-static char *nxagentRenderRequestLiteral[] =
+_X_UNUSED static char *nxagentRenderRequestLiteral[] =
{
"RenderQueryVersion",
"RenderQueryPictFormats",
@@ -202,7 +202,7 @@ static char *nxagentRenderRequestLiteral[] =
"RenderCreateConicalGradient"
};
-static char *nxagentShmRequestLiteral[] =
+_X_UNUSED static char *nxagentShmRequestLiteral[] =
{
"ShmQueryVersion",
"ShmAttach",