summaryrefslogtreecommitdiffstats
path: root/src/capabilities.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-08-20 06:02:29 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-08-20 06:08:07 +0200
commitd9dc87d8409ddf8361b7fcb311ae97088ed1d984 (patch)
treec63be2cf2a7d978dd5b30b3a404d9442acefdff7 /src/capabilities.c
parent3fd947a2d13a3f110f7c558b1d294dddfd2d25e0 (diff)
downloadfastd-d9dc87d8409ddf8361b7fcb311ae97088ed1d984.tar
fastd-d9dc87d8409ddf8361b7fcb311ae97088ed1d984.zip
Fix lots of -Wextra warnings
Everything clang and GCC warn about, except GCC's missing-field-initializers which are just stupid as they don't allow {} syntax to zero a field.
Diffstat (limited to 'src/capabilities.c')
-rw-r--r--src/capabilities.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/capabilities.c b/src/capabilities.c
index f2410c1..dd2efc7 100644
--- a/src/capabilities.c
+++ b/src/capabilities.c
@@ -96,10 +96,10 @@ void fastd_cap_drop(fastd_context_t *ctx) {
#else /* WITH_CAPABILITIES */
-void fastd_cap_init(fastd_context_t *ctx) {
+void fastd_cap_init(fastd_context_t *ctx UNUSED) {
}
-void fastd_cap_drop(fastd_context_t *ctx) {
+void fastd_cap_drop(fastd_context_t *ctx UNUSED) {
}
#endif /* WITH_CAPABILITIES */