svn commit: r328344 - head/tests/sys/kern
John Baldwin
jhb at FreeBSD.org
Wed Jan 24 17:46:21 UTC 2018
Author: jhb
Date: Wed Jan 24 17:46:20 2018
New Revision: 328344
URL: https://svnweb.freebsd.org/changeset/base/328344
Log:
Mark the unused argument to continue_thread() as such.
clang in HEAD and 11 does not warn about this, but clang in 10 does.
Modified:
head/tests/sys/kern/ptrace_test.c
Modified: head/tests/sys/kern/ptrace_test.c
==============================================================================
--- head/tests/sys/kern/ptrace_test.c Wed Jan 24 17:12:34 2018 (r328343)
+++ head/tests/sys/kern/ptrace_test.c Wed Jan 24 17:46:20 2018 (r328344)
@@ -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);
More information about the svn-src-all
mailing list