From b48945626a707b7adfd6f66a65591d42630f54e7 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 28 May 2014 22:28:53 +0930 Subject: Fix rx "set but not used" warnings * elf32-rx.c (rx_table_map): Delete set but not used variables. --- bfd/elf32-rx.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'bfd/elf32-rx.c') diff --git a/bfd/elf32-rx.c b/bfd/elf32-rx.c index e1856a9..469ba48 100644 --- a/bfd/elf32-rx.c +++ b/bfd/elf32-rx.c @@ -3801,8 +3801,6 @@ rx_table_map (struct bfd_hash_entry *vent, void *vinfo) RX_Table_Info *info = (RX_Table_Info *)vinfo; struct bfd_link_hash_entry *ent = (struct bfd_link_hash_entry *)vent; const char *name; /* of the symbol we've found */ - asection *sec; - struct bfd *abfd; int idx; const char *tname; /* name of the table */ bfd_vma start_addr, end_addr; @@ -3817,8 +3815,6 @@ rx_table_map (struct bfd_hash_entry *vent, void *vinfo) return TRUE; name = ent->root.string; - sec = ent->u.def.section; - abfd = sec->owner; if (strncmp (name, "$tablestart$", 12)) return TRUE; -- cgit v1.1