From 3294b7a729913961ca49df3acb3e3569ecf0da67 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sat, 21 Nov 2015 23:30:34 +0000 Subject: [PATCH] Avoid -Wunused-label when compiling with libselinux but no libaudit Bug: https://bugs.freedesktop.org/show_bug.cgi?id=93194 Reviewed-by: Ralf Habacker --- bus/selinux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bus/selinux.c b/bus/selinux.c index ef627c8..ca884ef 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); } -- 1.8.4.5