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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5F22F1395E2 for ; Tue, 15 Nov 2016 04:02:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67F41E0AF0; Tue, 15 Nov 2016 04:02:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4B681E0AF0 for ; Tue, 15 Nov 2016 04:02:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5D2F534164E for ; Tue, 15 Nov 2016 04:02:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B496B24C0 for ; Tue, 15 Nov 2016 04:02:41 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1479182554.061efe12b5e1f15341b30088588513e1855eab77.vapier@gentoo> Subject: [gentoo-commits] proj/pax-utils:master commit in: / X-VCS-Repository: proj/pax-utils X-VCS-Files: paxldso.h X-VCS-Directories: / X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 061efe12b5e1f15341b30088588513e1855eab77 X-VCS-Branch: master Date: Tue, 15 Nov 2016 04:02:41 +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: be6e8f8f-af08-4d7a-a984-4e86e6b29834 X-Archives-Hash: 3aec4f375ae593094fea01dd312a64ae commit: 061efe12b5e1f15341b30088588513e1855eab77 Author: Mike Frysinger gentoo org> AuthorDate: Tue Nov 15 04:02:34 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Tue Nov 15 04:02:34 2016 +0000 URL: https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=061efe12 paxldso: fix unused arg warnings when support is disabled paxldso.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paxldso.h b/paxldso.h index 1517e5e..16cbbac 100644 --- a/paxldso.h +++ b/paxldso.h @@ -26,7 +26,7 @@ #if PAX_LDSO_CACHE extern char *ldso_cache_lookup_lib(elfobj *elf, const char *fname); #else -static inline char *ldso_cache_lookup_lib(elfobj *elf, const char *fname) +static inline char *ldso_cache_lookup_lib(__unused__ elfobj *elf, __unused__ const char *fname) { return NULL; } @@ -54,7 +54,7 @@ extern array_t *ldpaths; #if PAX_LDSO_CONFIG extern int ldso_config_load(const char *fname); #else -static inline int ldso_config_load(const char *fname) +static inline int ldso_config_load(__unused__ const char *fname) { return 0; }