From: Simon McVittie Date: Sat, 21 Nov 2015 23:30:34 +0000 (+0000) Subject: Avoid -Wunused-label when compiling with libselinux but no libaudit X-Git-Tag: dbus-1.11.0~2^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a7d0be6a1966ab2a90df55700c1ee9461bcd318;p=thirdparty%2Fdbus.git Avoid -Wunused-label when compiling with libselinux but no libaudit Bug: https://bugs.freedesktop.org/show_bug.cgi?id=93194 Reviewed-by: Ralf Habacker --- diff --git a/bus/selinux.c b/bus/selinux.c index ef627c8c0..ca884ef5d 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); }