summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2015-11-21 23:30:34 +0000
committerSimon McVittie <smcv@debian.org>2015-12-02 18:49:39 +0000
commit2a7d0be6a1966ab2a90df55700c1ee9461bcd318 (patch)
tree390a022084ce3290978fdcf60e8d78d51b83bcb8
parente18b4eb14cfa1a3007194d7d162ceff111eee753 (diff)
downloaddbus-2a7d0be6a1966ab2a90df55700c1ee9461bcd318.tar.gz
Avoid -Wunused-label when compiling with libselinux but no libaudit
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=93194 Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
-rw-r--r--bus/selinux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bus/selinux.c b/bus/selinux.c
index ef627c8c..ca884ef5 100644
--- a/bus/selinux.c
+++ b/bus/selinux.c
@@ -146,7 +146,9 @@ log_callback (const char *fmt, ...)
vsyslog (LOG_USER | LOG_INFO, fmt, ap);
+#ifdef HAVE_LIBAUDIT
out:
+#endif
va_end(ap);
}