diff options
author | Nick Clifton <nickc@redhat.com> | 2013-04-30 12:13:09 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-04-30 12:13:09 +0000 |
commit | 66d1ed6be381a768a6165c080d2cbefb92174095 (patch) | |
tree | 9777857287e24d0770b845592e21b658485dcbe4 /bfd/elflink.c | |
parent | 08a85a12123859303b256d58477da722b17c0c1f (diff) | |
download | binutils-redhat-66d1ed6be381a768a6165c080d2cbefb92174095.tar.gz |
PR binutils/15417
* elflink.c (elf_link_add_object_symbols): Initialise 'idx' to
zero.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r-- | bfd/elflink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c index 363abed0a2..7cfc37957b 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -4665,7 +4665,7 @@ error_free_dyn: struct elf_link_hash_entry *hlook; asection *slook; bfd_vma vlook; - size_t i, j, idx; + size_t i, j, idx = 0; hlook = weaks; weaks = hlook->u.weakdef; |