chiark / gitweb /
core: fix gcc unused variable warning
[elogind.git] / src / core / dbus-manager.c
index 5a998e30823e48fd2fb37e36966f9899d9453a13..6abd5993706726f84c91d804c75c99fda212d08f 100644 (file)
@@ -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;