From patchwork Thu May 2 14:18:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 32483 Received: (qmail 41430 invoked by alias); 2 May 2019 14:18:06 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 41422 invoked by uid 89); 2 May 2019 14:18:06 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=init.c, 17403, initc, UD:init.c X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 02 May 2019 14:18:05 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id CB7711170C5; Thu, 2 May 2019 10:18:03 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KmEYY7byxK4l; Thu, 2 May 2019 10:18:03 -0400 (EDT) Received: from murgatroyd.Home (97-122-168-123.hlrn.qwest.net [97.122.168.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by rock.gnat.com (Postfix) with ESMTPSA id 7754D1165A4; Thu, 2 May 2019 10:18:03 -0400 (EDT) From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [FYI] Remove _initialize_valarith Date: Thu, 2 May 2019 08:18:00 -0600 Message-Id: <20190502141800.1505-1-tromey@adacore.com> MIME-Version: 1.0 I noticed that _initialize_valarith is empty. This patch removes it. Because init.c is constructed at build time, there's no reason to keep empty initialization functions around, because there's no overhead to reintroducing them when needed. gdb/ChangeLog 2019-05-02 Tom Tromey * valarith.c (_initialize_valarith): Remove. --- gdb/ChangeLog | 4 ++++ gdb/valarith.c | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/gdb/valarith.c b/gdb/valarith.c index d59f692a4a0..8d310b504a2 100644 --- a/gdb/valarith.c +++ b/gdb/valarith.c @@ -1740,8 +1740,3 @@ value_in (struct value *element, struct value *set) error (_("First argument of 'IN' not in range")); return member; } - -void -_initialize_valarith (void) -{ -}