From: Nick Clifton Date: Thu, 18 Jul 2013 10:57:23 +0000 (+0000) Subject: * readelf.c (process_unwind): Do not return the result of a void X-Git-Tag: sid-snapshot-20130801~121 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9f758fdc2205450850c83e10a231cc434807c333;p=external%2Fbinutils.git * readelf.c (process_unwind): Do not return the result of a void function. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 3b36bc7..255fc47 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2013-07-18 Nick Clifton + + * readelf.c (process_unwind): Do not return the result of a void + function. + 2013-07-15 Maciej W. Rozycki * readelf.c (display_mips_gnu_attribute): Replace hardcoded magic diff --git a/binutils/readelf.c b/binutils/readelf.c index 16fec12..c4a5982 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -7491,7 +7491,10 @@ process_unwind (FILE * file) for (i = 0; handlers[i].handler != NULL; i++) if (elf_header.e_machine == handlers[i].machtype) - return handlers[i].handler (file); + { + handlers[i].handler (file); + return; + } printf (_("\nThe decoding of unwind sections for machine type %s is not currently supported.\n"), get_machine_name (elf_header.e_machine));