]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
bfd: Remove return with expression in void function
authorMichael Forney <mforney@mforney.org>
Fri, 11 Feb 2022 12:45:40 +0000 (12:45 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 11 Feb 2022 12:45:40 +0000 (12:45 +0000)
      * bfd.c (bfd_set_gp_value): Remove return with expression
        in void function.

bfd/ChangeLog
bfd/bfd.c

index 3cad2a74acee60f85fcd5af4dc24cdcd77351764..97026b0138960558d5f59d281b946c63074ab2d8 100644 (file)
@@ -1,3 +1,8 @@
+2022-02-11  Michael Forney  <mforney@mforney.org>
+
+        * bfd.c (bfd_set_gp_value): Remove return with expression
+        in void function.
+
 2022-02-09  Nick Clifton  <nickc@redhat.com>
 
        * config.bfd: Move pending obsolesence targets into the definitely
index a2f294da983dfeb862612a0cc7478f3c7403ed87..d83371333fe00a268e687431d0682b162e347946 100644 (file)
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -1876,7 +1876,7 @@ DESCRIPTION
 void
 bfd_set_gp_value (bfd *abfd, bfd_vma v)
 {
-  return _bfd_set_gp_value (abfd, v);
+  _bfd_set_gp_value (abfd, v);
 }
 
 /*