[FYI] Remove _initialize_valarith

Message ID 20190502141800.1505-1-tromey@adacore.com
State New, archived
Headers

Commit Message

Tom Tromey May 2, 2019, 2:18 p.m. UTC
  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  <tromey@adacore.com>

	* valarith.c (_initialize_valarith): Remove.
---
 gdb/ChangeLog  | 4 ++++
 gdb/valarith.c | 5 -----
 2 files changed, 4 insertions(+), 5 deletions(-)
  

Patch

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)
-{
-}