diff options
author | Arsen Arsenović <arsen@aarsen.me> | 2022-06-25 19:04:50 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-12 07:33:20 +0100 |
commit | bac6818bd82acea720a0a961c62321982ec381e7 (patch) | |
tree | 17d5ac4d3e7778e047aaa755b3561cfac2fd2b32 | |
parent | Probe the target system for needed headers (diff) | |
download | pax-utils-bac6818bd82acea720a0a961c62321982ec381e7.tar.gz pax-utils-bac6818bd82acea720a0a961c62321982ec381e7.tar.bz2 pax-utils-bac6818bd82acea720a0a961c62321982ec381e7.zip |
security.h: suppress unused argument warning on allow_forking
Signed-off-by: Arsen Arsenović <arsen@aarsen.me>
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | security.c | 1 | ||||
-rw-r--r-- | security.h | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -94,6 +94,7 @@ void security_init_pid(void) void security_init(bool allow_forking) { + (void) allow_forking; int flags; if (!ALLOW_PIDNS) @@ -22,7 +22,7 @@ void security_init(bool allow_forking); /* Disable forking; usable only when allow_forking above was true. */ void security_init_pid(void); #else -static inline void security_init(bool allow_forking) {} +static inline void security_init(bool allow_forking) { (void) allow_forking; } static inline void security_init_pid(void) {} #endif |