[systemd-commits] src/core

Zbigniew Jędrzejewski-Szmek zbyszek at kemper.freedesktop.org
Mon Dec 8 14:28:01 PST 2014


 src/core/load-fragment.c |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 4e7dff9b099bfbf7e367e339f5ddcd387caf78ae
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Mon Dec 8 17:24:34 2014 -0500

    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

diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c
index d385968..7f109b8 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,



More information about the systemd-commits mailing list