From 4e7dff9b099bfbf7e367e339f5ddcd387caf78ae Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Mon, 8 Dec 2014 17:24:34 -0500 Subject: load-fragment: remove wrong ifdef guard config_parse_warn_compat is now always used for removed options. https://bugs.freedesktop.org/show_bug.cgi?id=87125 --- src/core/load-fragment.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c index d3859683a1..7f109b8930 100644 --- a/src/core/load-fragment.c +++ b/src/core/load-fragment.c @@ -64,7 +64,6 @@ #include "seccomp-util.h" #endif -#if !defined(HAVE_SYSV_COMPAT) || !defined(HAVE_SECCOMP) || !defined(HAVE_PAM) || !defined(HAVE_SELINUX) || !defined(HAVE_SMACK) || !defined(HAVE_APPARMOR) int config_parse_warn_compat( const char *unit, const char *filename, @@ -95,7 +94,6 @@ int config_parse_warn_compat( return 0; } -#endif int config_parse_unit_deps(const char *unit, const char *filename, -- cgit v1.2.3-54-g00ecf