From: Lennart Poettering Date: Thu, 19 Feb 2015 11:03:12 +0000 (+0100) Subject: nspawn: fix build on non-selinux systems X-Git-Tag: v220~1038 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d15d65a01fe02fc66c3a9664fa9eab983f0f5024;p=platform%2Fupstream%2Fsystemd.git nspawn: fix build on non-selinux systems --- diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 8a151f1..9967423 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;