aboutsummaryrefslogtreecommitdiffstats
path: root/com32/tools
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2011-03-16 13:10:36 -0700
committerH. Peter Anvin <hpa@zytor.com>2011-03-16 13:10:36 -0700
commitf62483a3fed6d4708bb1ea8d23d1aa8fcf7424bf (patch)
tree075f45b151cfe99dd9080962f7ac13fba5701913 /com32/tools
parent69bfb639e482436c268ebbe47dcb29a6a9b8fdfb (diff)
downloadsyslinux-f62483a3fed6d4708bb1ea8d23d1aa8fcf7424bf.tar.gz
syslinux-f62483a3fed6d4708bb1ea8d23d1aa8fcf7424bf.tar.xz
syslinux-f62483a3fed6d4708bb1ea8d23d1aa8fcf7424bf.zip
com32/tools/relocs.c: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/tools')
-rw-r--r--com32/tools/relocs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/com32/tools/relocs.c b/com32/tools/relocs.c
index be57bf7e..24742060 100644
--- a/com32/tools/relocs.c
+++ b/com32/tools/relocs.c
@@ -403,13 +403,11 @@ static void print_absolute_symbols(void)
for (i = 0; i < ehdr.e_shnum; i++) {
struct section *sec = &secs[i];
char *sym_strtab;
- Elf32_Sym *sh_symtab;
int j;
if (sec->shdr.sh_type != SHT_SYMTAB) {
continue;
}
- sh_symtab = sec->symtab;
sym_strtab = sec->link->strtab;
for (j = 0; j < sec->shdr.sh_size/sizeof(Elf32_Sym); j++) {
Elf32_Sym *sym;