mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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:
parent
cb938d95e2
commit
e0a40f3045
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue