chiark / gitweb /
nspawn: fix build on non-selinux systems
authorLennart Poettering <lennart@poettering.net>
Thu, 19 Feb 2015 11:03:12 +0000 (12:03 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 19 Feb 2015 11:03:12 +0000 (12:03 +0100)
src/nspawn/nspawn.c

index 8a151f1..9967423 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;