From: Tom Tromey Date: Thu, 2 May 2019 14:15:59 +0000 (-0600) Subject: Remove _initialize_valarith X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8c05e85ef4ce9610a3a43198180cf24aea327cb;p=binutils-gdb.git 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. --- 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) -{ -}