diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-11-20 00:00:35 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-11-20 00:00:35 +0000 |
commit | c9c253d3729d24bff73ba4094bff386ec54a8cf1 (patch) | |
tree | 11dc58091c9a510579f98d14ce6356b03a131fcb /ports/sysdeps/mips/dl-machine.h | |
parent | 986cab95e068f79e752fc11e981de8e472c23961 (diff) | |
download | glibc-c9c253d3729d24bff73ba4094bff386ec54a8cf1.tar.gz glibc-c9c253d3729d24bff73ba4094bff386ec54a8cf1.tar.xz glibc-c9c253d3729d24bff73ba4094bff386ec54a8cf1.zip |
Fix unused-variable warnings from MIPS RESOLVE_GOTSYM macro.
Diffstat (limited to 'ports/sysdeps/mips/dl-machine.h')
-rw-r--r-- | ports/sysdeps/mips/dl-machine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/sysdeps/mips/dl-machine.h b/ports/sysdeps/mips/dl-machine.h index cc7da7625c..9b970a26ed 100644 --- a/ports/sysdeps/mips/dl-machine.h +++ b/ports/sysdeps/mips/dl-machine.h @@ -637,7 +637,7 @@ elf_machine_got_rel (struct link_map *map, int lazy) #define RESOLVE_GOTSYM(sym,vernum,sym_index,reloc) \ ({ \ const ElfW(Sym) *ref = sym; \ - const struct r_found_version *version \ + const struct r_found_version *version __attribute__ ((unused)) \ = vernum ? &map->l_versions[vernum[sym_index] & 0x7fff] : NULL; \ struct link_map *sym_map; \ sym_map = RESOLVE_MAP (&ref, version, reloc); \ |