From b8c05e85ef4ce9610a3a43198180cf24aea327cb Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 2 May 2019 08:15:59 -0600 Subject: [PATCH] Remove _initialize_valarith 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/ChangeLog b/gdb/ChangeLog index eba0426463a..c36b45c9581 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2019-05-02 Tom Tromey + + * valarith.c (_initialize_valarith): Remove. + 2019-05-01 Tom Tromey * ada-lang.c (ada_value_primitive_field): Treat more fields as 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) -{ -} -- 2.30.2