aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2022-02-11 12:45:40 +0000
committerNick Clifton <nickc@redhat.com>2022-02-11 12:45:40 +0000
commit5d0d011be3403bf6fa62e8a7cc72762ef66e17a0 (patch)
tree41dc2f75b9a7753f80e40bfde2857046943b2f69 /bfd
parentd203a0647fc73cad89307c37ae060b45aa28eab4 (diff)
downloadgdb-5d0d011be3403bf6fa62e8a7cc72762ef66e17a0.zip
gdb-5d0d011be3403bf6fa62e8a7cc72762ef66e17a0.tar.gz
gdb-5d0d011be3403bf6fa62e8a7cc72762ef66e17a0.tar.bz2
bfd: Remove return with expression in void function
* bfd.c (bfd_set_gp_value): Remove return with expression in void function.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/bfd.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3cad2a7..97026b0 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
diff --git a/bfd/bfd.c b/bfd/bfd.c
index a2f294d..d833713 100644
--- 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);
}
/*