[binutils-gdb] bfd: Remove return with expression in void function
Nick Clifton
nickc@sourceware.org
Fri Feb 11 12:46:18 GMT 2022
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5d0d011be3403bf6fa62e8a7cc72762ef66e17a0
commit 5d0d011be3403bf6fa62e8a7cc72762ef66e17a0
Author: Michael Forney <mforney@mforney.org>
Date: Fri Feb 11 12:45:40 2022 +0000
bfd: Remove return with expression in void function
* bfd.c (bfd_set_gp_value): Remove return with expression
in void function.
Diff:
---
bfd/ChangeLog | 5 +++++
bfd/bfd.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3cad2a74ace..97026b01389 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 a2f294da983..d83371333fe 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);
}
/*
More information about the Binutils-cvs
mailing list