From e52dfe7dfb9a414c6b2e1e7898ca135ab7dd185a Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Sun, 12 Nov 2023 14:35:16 -0500 Subject: quiet a couple of unused-parameter warnings Signed-off-by: Thomas E. Dickey --- src/TMparse.c | 2 +- src/Varargs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/TMparse.c b/src/TMparse.c index f93244c..2229a81 100644 --- a/src/TMparse.c +++ b/src/TMparse.c @@ -1076,7 +1076,7 @@ ParseTable(register String str, Opaque closure, EventPtr event, Boolean *error) } static String -ParseButton(String str, Opaque closure, EventPtr event, Boolean *error) +ParseButton(String str, Opaque closure _X_UNUSED, EventPtr event, Boolean *error) { String start = str; char buttonStr[7]; diff --git a/src/Varargs.c b/src/Varargs.c index 0e5b586..7814bb3 100644 --- a/src/Varargs.c +++ b/src/Varargs.c @@ -96,7 +96,7 @@ _XtCountVaList(va_list var, int *total_count, int *typed_count) * returns the list. */ XtVarArgsList -XtVaCreateArgsList(XtPointer unused, ...) +XtVaCreateArgsList(XtPointer unused _X_UNUSED, ...) { va_list var; XtTypedArgList avlist; -- cgit v1.2.3