* readelf.c (process_unwind): Do not return the result of a void

function.
This commit is contained in:
Nick Clifton 2013-07-18 10:57:23 +00:00
parent 1f74d3b559
commit 9f758fdc22
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-07-18 Nick Clifton <nickc@redhat.com>
* readelf.c (process_unwind): Do not return the result of a void
function.
2013-07-15 Maciej W. Rozycki <macro@codesourcery.com>
* readelf.c (display_mips_gnu_attribute): Replace hardcoded magic

View File

@ -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));