From 2158d8d04e0d88c61b0d7de9f7abc0e54139de75 Mon Sep 17 00:00:00 2001 From: startx2017 Date: Tue, 15 Aug 2017 10:11:08 -0400 Subject: compile cleanup --- src/fseccomp/syscall.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/fseccomp/syscall.c') diff --git a/src/fseccomp/syscall.c b/src/fseccomp/syscall.c index b9e6d995b..3a9be51a7 100644 --- a/src/fseccomp/syscall.c +++ b/src/fseccomp/syscall.c @@ -511,6 +511,7 @@ int syscall_check_list(const char *slist, void (*callback)(int fd, int syscall, static void find_syscall(int fd, int syscall, int arg, void *ptrarg) { (void)fd; + (void) arg; SyscallCheckList *ptr = ptrarg; if (syscall == ptr->syscall) ptr->found = true; @@ -518,6 +519,7 @@ static void find_syscall(int fd, int syscall, int arg, void *ptrarg) { // go through list2 and find matches for problem syscall static void syscall_in_list(int fd, int syscall, int arg, void *ptrarg) { + (void) fd; (void)arg; SyscallCheckList *ptr = ptrarg; SyscallCheckList sl; @@ -543,6 +545,7 @@ static void syscall_in_list(int fd, int syscall, int arg, void *ptrarg) { // go through list and find matches for syscalls in list @default-keep void syscalls_in_list(const char *list, const char *slist, int fd, char **prelist, char **postlist) { + (void) fd; SyscallCheckList sl; // these syscalls are used by firejail after the seccomp filter is initialized sl.slist = slist; -- cgit v1.2.3-54-g00ecf