chiark / gitweb /
nspawn: fix build on non-selinux systems
[elogind.git] / src / nspawn / nspawn.c
index 8a151f15ea16fc764ab5e5c28e396c2d1e34bbd6..9967423dbc977d1a941f8a65204fff22cafe0b81 100644 (file)
@@ -872,10 +872,7 @@ static int mount_all(const char *dest) {
         int r = 0;
 
         for (k = 0; k < ELEMENTSOF(mount_table); k++) {
-                _cleanup_free_ char *where = NULL;
-#ifdef HAVE_SELINUX
-                _cleanup_free_ char *options = NULL;
-#endif
+                _cleanup_free_ char *where = NULL, *options = NULL;
                 const char *o;
                 int t;