Mark the unused argument to continue_thread() as such.

clang in HEAD and 11 does not warn about this, but clang in 10 does.
This commit is contained in:
John Baldwin 2018-01-24 17:46:20 +00:00
parent cb938d95e2
commit e0a40f3045

View file

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