Avoid -Wunused-label when compiling with libselinux but no libaudit
authorSimon McVittie <smcv@debian.org>
Sat, 21 Nov 2015 23:30:34 +0000 (23:30 +0000)
committerSimon McVittie <smcv@debian.org>
Wed, 2 Dec 2015 18:49:39 +0000 (18:49 +0000)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=93194
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
bus/selinux.c

index ef627c8..ca884ef 100644 (file)
@@ -146,7 +146,9 @@ log_callback (const char *fmt, ...)
 
   vsyslog (LOG_USER | LOG_INFO, fmt, ap);
 
+#ifdef HAVE_LIBAUDIT
 out:
+#endif
   va_end(ap);
 }