quiet warnings for unused parameters

Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
This commit is contained in:
Thomas E. Dickey 2021-03-11 04:14:45 -05:00
parent 7623dae73c
commit ce907e36e0
No known key found for this signature in database
GPG key ID: 702353E0F7E48EDB
2 changed files with 6 additions and 0 deletions

View file

@ -50,6 +50,8 @@ _XcursorCloseDisplay (Display *dpy, XExtCodes *codes)
{
XcursorDisplayInfo *info, **prev;
(void) codes; /* UNUSED */
/*
* Unhook from the global list
*/

View file

@ -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;