summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2021-03-11 04:14:45 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2021-03-11 20:25:09 -0500
commitce907e36e0869a4fcf89e2aeaa4d9d0cb52d7644 (patch)
treeedf8edbd69f5ca4bd041f0f3c9a21193a873e61c
parent7623dae73c71fd3bfc2b820e6c98eb99b36dba44 (diff)
quiet warnings for unused parameters
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
-rw-r--r--src/display.c2
-rw-r--r--src/xlib.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/src/display.c b/src/display.c
index 083c3a6..2c56ba9 100644
--- a/src/display.c
+++ b/src/display.c
@@ -50,6 +50,8 @@ _XcursorCloseDisplay (Display *dpy, XExtCodes *codes)
{
XcursorDisplayInfo *info, **prev;
+ (void) codes; /* UNUSED */
+
/*
* Unhook from the global list
*/
diff --git a/src/xlib.c b/src/xlib.c
index c08abfd..56d7073 100644
--- a/src/xlib.c
+++ b/src/xlib.c
@@ -403,6 +403,10 @@ XcursorTryShapeBitmapCursor (Display *dpy,
int i;
Cursor cursor;
+ (void) mask; /* UNUSED */
+ (void) x; /* UNUSED */
+ (void) y; /* UNUSED */
+
if (!dpy || !foreground || !background)
return 0;