fix set but unused variable warnings
[deliverable/binutils-gdb.git] / bfd / elf32-ppc.c
index 1580599fe114e0327b8556442bea4a1f73776dc3..bf182c961cc4eacc2a6a6470289e51c46fdb9557 100644 (file)
@@ -4788,7 +4788,6 @@ ppc_elf_tls_optimize (bfd *obfd ATTRIBUTE_UNUSED,
                    }
                  else
                    {
-                     Elf_Internal_Sym *sym;
                      bfd_signed_vma *lgot_refs;
                      struct plt_entry **local_plt;
                      char *lgot_masks;
@@ -4807,7 +4806,6 @@ ppc_elf_tls_optimize (bfd *obfd ATTRIBUTE_UNUSED,
                              return FALSE;
                            }
                        }
-                     sym = locsyms + r_symndx;
                      lgot_refs = elf_local_got_refcounts (ibfd);
                      if (lgot_refs == NULL)
                        abort ();
This page took 0.024797 seconds and 4 git commands to generate.