From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by sourceware.org (Postfix) with ESMTPS id B74B4385801D for ; Mon, 15 Mar 2021 09:38:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B74B4385801D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tdevries@suse.de X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id C32DEACA8; Mon, 15 Mar 2021 09:38:29 +0000 (UTC) Date: Mon, 15 Mar 2021 10:38:28 +0100 From: Tom de Vries To: dwz@sourceware.org, jakub@redhat.com, mark@klomp.org Subject: [committed] Remove USED and UNUSED annotations Message-ID: <20210315093827.GA6526@delia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: dwz@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dwz mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2021 09:38:31 -0000 Hi, Remove the USED and UNUSED annotations, where they are no longer required. Committed to trunk. Thanks, - Tom Remove USED and UNUSED annotations 2021-03-15 Tom de Vries * dwz.c (estimate_nr_dies, emulate_htab, die_odr_state): Remove UNUSED. (dump_die): Remove USED. --- dwz.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dwz.c b/dwz.c index 956062a..cd06dc6 100644 --- a/dwz.c +++ b/dwz.c @@ -2045,7 +2045,7 @@ read_debug_line (DSO *dso, dw_cu_ref cu, uint32_t off) /* Estimate the amount of DIEs in the .debug_info section, based on the size of that section. */ -static unsigned int UNUSED +static unsigned int estimate_nr_dies (void) { unsigned int average_die_size = 11; @@ -2053,7 +2053,7 @@ estimate_nr_dies (void) return nr_dies; } -static size_t UNUSED +static size_t emulate_htab (size_t initial, size_t final_nr_elements) { size_t size = initial; @@ -3363,7 +3363,7 @@ set_die_odr_state (dw_cu_ref cu, dw_die_ref die) } /* Return the initialized die_odr_state field for DIE with CU. */ -static unsigned int UNUSED +static unsigned int die_odr_state (dw_die_ref die) { assert (die->die_odr_state != ODR_UNKNOWN); @@ -5597,7 +5597,7 @@ dump_die_with_indent (int indent, dw_die_ref die) } /* Dump DIE to stderr. */ -static void USED +static void dump_die (dw_die_ref die) { dump_die_with_indent (0, die);