diff options
author | Nick Clifton <nickc@redhat.com> | 2013-07-18 10:57:23 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-07-18 10:57:23 +0000 |
commit | 9f758fdc2205450850c83e10a231cc434807c333 (patch) | |
tree | 39430a85bbc12e1d89e395039eb1122b7f908e91 /binutils/readelf.c | |
parent | 1f74d3b5594a0383b4048de8674193c12d32bbf4 (diff) | |
download | gdb-9f758fdc2205450850c83e10a231cc434807c333.zip gdb-9f758fdc2205450850c83e10a231cc434807c333.tar.gz gdb-9f758fdc2205450850c83e10a231cc434807c333.tar.bz2 |
* readelf.c (process_unwind): Do not return the result of a void
function.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 5 |
1 files changed, 4 insertions, 1 deletions
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)); |