From d38cc8f2210e839c4935208917138e4809ece758 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 24 Mar 2015 23:17:35 -0500 Subject: checkpath: fix warning about selinux_on being unused --- src/rc/checkpath.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/rc/checkpath.c') diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c index 87115a4b..034cb4d2 100644 --- a/src/rc/checkpath.c +++ b/src/rc/checkpath.c @@ -164,10 +164,8 @@ static int do_check(char *path, uid_t uid, gid_t gid, mode_t mode, } } -#ifdef HAVE_SELINUX if (selinux_on) selinux_util_label(path); -#endif return 0; } -- cgit v1.2.3