diff options
author | Omar Polo <op@omarpolo.com> | 2021-10-09 18:54:41 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-10-09 18:54:41 +0000 |
commit | 5eb3fc905f5e3bd2f2d586fb1e0ceda879500b3e (patch) | |
tree | 846526cf50242dea26016f337a717dc9ad87f9f3 /sandbox.c | |
parent | c6bcc919c658676844c857d59388d4108fcc7b8f (diff) |
don't work around a missing -Wno-unused-parameter
It's been there for a long time, and it's frankly annoying to pretend
to use parameters. Most of the time, they're there to satisfy an
interface and nothings more.
Diffstat (limited to 'sandbox.c')
-rw-r--r-- | sandbox.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -393,9 +393,6 @@ static struct sock_filter filter[] = { static void sandbox_seccomp_violation(int signum, siginfo_t *info, void *ctx) { - (void)signum; - (void)ctx; - fprintf(stderr, "%s: unexpected system call (arch:0x%x,syscall:%d @ %p)\n", __func__, info->si_arch, info->si_syscall, info->si_call_addr); _exit(1); |