From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A3936138CC5 for ; Wed, 25 Mar 2015 04:38:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 564B8E07FD; Wed, 25 Mar 2015 04:38:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 07881E07FD for ; Wed, 25 Mar 2015 04:38:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BFE36340A31 for ; Wed, 25 Mar 2015 04:38:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 60675147B0 for ; Wed, 25 Mar 2015 04:38:12 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1427257095.d38cc8f2210e839c4935208917138e4809ece758.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/checkpath.c X-VCS-Directories: src/rc/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: d38cc8f2210e839c4935208917138e4809ece758 X-VCS-Branch: master Date: Wed, 25 Mar 2015 04:38:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7400be5f-9a3a-4616-a87f-a6f89a007f32 X-Archives-Hash: 4f95c895a9bd6db1f611ecc4d1c72521 commit: d38cc8f2210e839c4935208917138e4809ece758 Author: William Hubbs gmail com> AuthorDate: Wed Mar 25 04:17:35 2015 +0000 Commit: William Hubbs gentoo org> CommitDate: Wed Mar 25 04:18:15 2015 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=d38cc8f2 checkpath: fix warning about selinux_on being unused src/rc/checkpath.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c index 87115a4..034cb4d 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; }