From e0a40f3045d7a44355115fe1ceda6004b6412544 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 24 Jan 2018 17:46:20 +0000 Subject: [PATCH] Mark the unused argument to continue_thread() as such. clang in HEAD and 11 does not warn about this, but clang in 10 does. --- tests/sys/kern/ptrace_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/kern/ptrace_test.c b/tests/sys/kern/ptrace_test.c index 694a3b4044e..a9afac55504 100644 --- a/tests/sys/kern/ptrace_test.c +++ b/tests/sys/kern/ptrace_test.c @@ -3474,7 +3474,7 @@ ATF_TC_BODY(ptrace__PT_STEP_with_signal, tc) * that restarting doesn't retrigger the breakpoint. */ static void * -continue_thread(void *arg) +continue_thread(void *arg __unused) { breakpoint(); return (NULL);