summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-01-02 19:49:33 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-01-02 19:49:33 -0500
commitd4c636603a2c7594faa66f9c3e6c75f5ccb5c3e4 (patch)
tree2a3946d5292c23a1016a63a4923229f5571d5aa0
parent0349c608c839e728e15a37b2317c3f332c8a2a36 (diff)
core: fix gcc unused variable warning
-rw-r--r--src/core/dbus-manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c
index 5a998e3082..6abd599370 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;