Remove _initialize_valarith
authorTom Tromey <tromey@adacore.com>
Thu, 2 May 2019 14:15:59 +0000 (08:15 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 2 May 2019 14:17:04 +0000 (08:17 -0600)
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
gdb/valarith.c

index eba0426463a6fbbd03884f8cd90ca63bf671ce9a..c36b45c9581344b4911fc0b1129cf6015f321596 100644 (file)
@@ -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
index d59f692a4a07875e4c63e45067da751d8c238433..8d310b504a265e08170665d664b0dd501ab17c57 100644 (file)
@@ -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)
-{
-}
This page took 0.028281 seconds and 4 git commands to generate.