Commit 1da90ff3 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Remove unused variable

parent 333da05f
...@@ -3941,7 +3941,7 @@ static int getSectionKind_ELF( Elf_Shdr *hdr, int *is_bss ) ...@@ -3941,7 +3941,7 @@ static int getSectionKind_ELF( Elf_Shdr *hdr, int *is_bss )
static int static int
ocGetNames_ELF ( ObjectCode* oc ) ocGetNames_ELF ( ObjectCode* oc )
{ {
int i, j, k, nent; int i, j, nent;
Elf_Sym* stab; Elf_Sym* stab;
char* ehdrC = (char*)(oc->image); char* ehdrC = (char*)(oc->image);
...@@ -3951,7 +3951,6 @@ ocGetNames_ELF ( ObjectCode* oc ) ...@@ -3951,7 +3951,6 @@ ocGetNames_ELF ( ObjectCode* oc )
ASSERT(symhash != NULL); ASSERT(symhash != NULL);
k = 0;
for (i = 0; i < ehdr->e_shnum; i++) { for (i = 0; i < ehdr->e_shnum; i++) {
/* Figure out what kind of section it is. Logic derived from /* Figure out what kind of section it is. Logic derived from
Figure 1.14 ("Special Sections") of the ELF document Figure 1.14 ("Special Sections") of the ELF document
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment