From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 62B95158094 for ; Tue, 12 Jul 2022 06:33:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DECCE104D; Tue, 12 Jul 2022 06:33:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B64F7E104D for ; Tue, 12 Jul 2022 06:33:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9449F340FE7 for ; Tue, 12 Jul 2022 06:33:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A5A5352C for ; Tue, 12 Jul 2022 06:33:28 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1657607600.bac6818bd82acea720a0a961c62321982ec381e7.sam@gentoo> Subject: [gentoo-commits] proj/pax-utils:master commit in: / X-VCS-Repository: proj/pax-utils X-VCS-Files: security.c security.h X-VCS-Directories: / X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: bac6818bd82acea720a0a961c62321982ec381e7 X-VCS-Branch: master Date: Tue, 12 Jul 2022 06:33:28 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5a48e946-e79e-4df4-8066-f66d580d7493 X-Archives-Hash: aeb970b062fadcec8b693f71d82d1709 commit: bac6818bd82acea720a0a961c62321982ec381e7 Author: Arsen Arsenović aarsen me> AuthorDate: Sat Jun 25 17:04:50 2022 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jul 12 06:33:20 2022 +0000 URL: https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=bac6818b security.h: suppress unused argument warning on allow_forking Signed-off-by: Arsen Arsenović aarsen.me> Signed-off-by: Sam James gentoo.org> security.c | 1 + security.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/security.c b/security.c index 4fecfa3..19bf78f 100644 --- a/security.c +++ b/security.c @@ -94,6 +94,7 @@ void security_init_pid(void) void security_init(bool allow_forking) { + (void) allow_forking; int flags; if (!ALLOW_PIDNS) diff --git a/security.h b/security.h index c93ec3e..65e1ad5 100644 --- a/security.h +++ b/security.h @@ -22,7 +22,7 @@ void security_init(bool allow_forking); /* Disable forking; usable only when allow_forking above was true. */ void security_init_pid(void); #else -static inline void security_init(bool allow_forking) {} +static inline void security_init(bool allow_forking) { (void) allow_forking; } static inline void security_init_pid(void) {} #endif