From 5d0d011be3403bf6fa62e8a7cc72762ef66e17a0 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 11 Feb 2022 12:45:40 +0000 Subject: [PATCH] bfd: Remove return with expression in void function * bfd.c (bfd_set_gp_value): Remove return with expression in void function. --- 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 + + * bfd.c (bfd_set_gp_value): Remove return with expression + in void function. + 2022-02-09 Nick Clifton * 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); } /* -- 2.30.2