aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfnn-aarch64.c
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@gmail.com>2015-03-22 07:59:48 +0000
committerMarcus Shawcroft <marcus.shawcroft@arm.com>2015-03-23 15:20:30 +0000
commit9b9971aac7b89596695f15ed4763d9fd2b876ca8 (patch)
tree68086ce2238c556d522e3341deb7213b84963164 /bfd/elfnn-aarch64.c
parent23956543da73914601924cb5e4db829082dfee83 (diff)
downloadgdb-9b9971aac7b89596695f15ed4763d9fd2b876ca8.zip
gdb-9b9971aac7b89596695f15ed4763d9fd2b876ca8.tar.gz
gdb-9b9971aac7b89596695f15ed4763d9fd2b876ca8.tar.bz2
[AArch64] Remove unused variable.
Diffstat (limited to 'bfd/elfnn-aarch64.c')
-rw-r--r--bfd/elfnn-aarch64.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c
index 5d47f8e..65dab9a 100644
--- a/bfd/elfnn-aarch64.c
+++ b/bfd/elfnn-aarch64.c
@@ -3191,13 +3191,12 @@ elfNN_aarch64_size_stubs (bfd *output_bfd,
while (1)
{
bfd *input_bfd;
- unsigned int bfd_indx;
asection *stub_sec;
unsigned prev_num_erratum_835769_fixes = num_erratum_835769_fixes;
num_erratum_835769_fixes = 0;
- for (input_bfd = info->input_bfds, bfd_indx = 0;
- input_bfd != NULL; input_bfd = input_bfd->link.next, bfd_indx++)
+ for (input_bfd = info->input_bfds;
+ input_bfd != NULL; input_bfd = input_bfd->link.next)
{
Elf_Internal_Shdr *symtab_hdr;
asection *section;