From d4c636603a2c7594faa66f9c3e6c75f5ccb5c3e4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 2 Jan 2014 19:49:33 -0500 Subject: [PATCH] core: fix gcc unused variable warning --- src/core/dbus-manager.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c index 5a998e308..6abd59937 100644 --- a/src/core/dbus-manager.c +++ b/src/core/dbus-manager.c @@ -1405,7 +1405,9 @@ static int method_enable_unit_files_generic( sd_bus_error *error) { _cleanup_strv_free_ char **l = NULL; +#ifdef HAVE_SELINUX char **i; +#endif UnitFileChange *changes = NULL; unsigned n_changes = 0; UnitFileScope scope; -- 2.30.2