diff options
author | Nick Clifton <nickc@redhat.com> | 2018-02-12 11:57:41 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2018-02-12 11:57:41 +0000 |
commit | 0b8683b7eb25cc150c7738ddc0d237f255e0fa70 (patch) | |
tree | c976fe4272afc5376d32a1e7624c8da4fcabc5b3 /bfd/elf32-arc.c | |
parent | oops - actually remove the assignment this time: bfd/elf32-nds32.c:9693]: (wa... (diff) | |
download | binutils-gdb-0b8683b7eb25cc150c7738ddc0d237f255e0fa70.tar.gz binutils-gdb-0b8683b7eb25cc150c7738ddc0d237f255e0fa70.tar.bz2 binutils-gdb-0b8683b7eb25cc150c7738ddc0d237f255e0fa70.zip |
Fix compile time warning: bfd/elf32-arc.c:1537]: (warning) Redundant assignment of 'rel->r_offset' to itself.
* elf32-arc.c (elf_arc_relocate_section): Remove redundant
assignment.
Diffstat (limited to 'bfd/elf32-arc.c')
-rw-r--r-- | bfd/elf32-arc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bfd/elf32-arc.c b/bfd/elf32-arc.c index 5921cc25259..1ad9e3ee91d 100644 --- a/bfd/elf32-arc.c +++ b/bfd/elf32-arc.c @@ -1534,7 +1534,6 @@ elf_arc_relocate_section (bfd * output_bfd, { _bfd_clear_contents (howto, input_bfd, input_section, contents + rel->r_offset); - rel->r_offset = rel->r_offset; rel->r_info = 0; rel->r_addend = 0; |