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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user