From d15d65a01fe02fc66c3a9664fa9eab983f0f5024 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 19 Feb 2015 12:03:12 +0100 Subject: nspawn: fix build on non-selinux systems --- src/nspawn/nspawn.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 8a151f15ea..9967423dbc 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -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; -- cgit v1.2.3-54-g00ecf