diff options
author | Ben Elliston <bje@au.ibm.com> | 2006-05-04 05:05:25 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2006-05-04 05:05:25 +0000 |
commit | 9578239d3edd0341cca6686bdf89ba9f5a1cd9f7 (patch) | |
tree | adbc992b8c6d413b1aa379e1723a5dcb36310a6f /bfd/cofflink.c | |
parent | 251533c9556bbb894524588ff15ed02ce645f264 (diff) | |
download | gdb-9578239d3edd0341cca6686bdf89ba9f5a1cd9f7.zip gdb-9578239d3edd0341cca6686bdf89ba9f5a1cd9f7.tar.gz gdb-9578239d3edd0341cca6686bdf89ba9f5a1cd9f7.tar.bz2 |
* coff-or32.c (bfd_section_from_shdr): Remove unused local
variable `ptr'.
* cofflink.c (process_embedded_commands): Remove unused local
variables `had_read' and `had_shared'.
* ecofflink.c (bfd_ecoff_debug_accumulate): Remove unused local
variable `fdr_adr'.
* ihex.c (ihex_read_section): Remove unused local variable `addr'.
Diffstat (limited to 'bfd/cofflink.c')
-rw-r--r-- | bfd/cofflink.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bfd/cofflink.c b/bfd/cofflink.c index a1f6684..c17701c 100644 --- a/bfd/cofflink.c +++ b/bfd/cofflink.c @@ -1239,9 +1239,7 @@ process_embedded_commands (bfd *output_bfd, asection *asec; int loop = 1; int had_write = 0; - int had_read = 0; int had_exec= 0; - int had_shared= 0; s += 5; s = get_name (s, &name); @@ -1255,10 +1253,8 @@ process_embedded_commands (bfd *output_bfd, had_write = 1; break; case 'R': - had_read = 1; break; case 'S': - had_shared = 1; break; case 'X': had_exec = 1; |