diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2021-03-11 04:14:45 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2021-03-11 20:25:09 -0500 |
commit | ce907e36e0869a4fcf89e2aeaa4d9d0cb52d7644 (patch) | |
tree | edf8edbd69f5ca4bd041f0f3c9a21193a873e61c | |
parent | 7623dae73c71fd3bfc2b820e6c98eb99b36dba44 (diff) |
quiet warnings for unused parameters
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
-rw-r--r-- | src/display.c | 2 | ||||
-rw-r--r-- | src/xlib.c | 4 |
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 */ @@ -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; |