public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Remove _initialize_valarith
@ 2019-05-02 14:22 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2019-05-02 14:22 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b8c05e85ef4ce9610a3a43198180cf24aea327cb
commit b8c05e85ef4ce9610a3a43198180cf24aea327cb
Author: Tom Tromey <tromey@adacore.com>
Date: Thu May 2 08:15:59 2019 -0600
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 <tromey@adacore.com>
* valarith.c (_initialize_valarith): Remove.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/valarith.c | 5 -----
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index eba0426..c36b45c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2019-05-02 Tom Tromey <tromey@adacore.com>
+
+ * valarith.c (_initialize_valarith): Remove.
+
2019-05-01 Tom Tromey <tromey@adacore.com>
* ada-lang.c (ada_value_primitive_field): Treat more fields as
diff --git a/gdb/valarith.c b/gdb/valarith.c
index d59f692..8d310b5 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)
-{
-}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-05-02 14:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-02 14:22 [binutils-gdb] Remove _initialize_valarith Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).