aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2019-05-02 08:15:59 -0600
committerTom Tromey <tromey@adacore.com>2019-05-02 08:17:04 -0600
commitb8c05e85ef4ce9610a3a43198180cf24aea327cb (patch)
treead1dfd6619b8e9251073a851823076d77c1d3ffe /gdb
parent2cdc1a970d3249888524d251abfb87a9bdc77434 (diff)
downloadgdb-b8c05e85ef4ce9610a3a43198180cf24aea327cb.zip
gdb-b8c05e85ef4ce9610a3a43198180cf24aea327cb.tar.gz
gdb-b8c05e85ef4ce9610a3a43198180cf24aea327cb.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/valarith.c5
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)
-{
-}