Commit 4e7fe582 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

winedump: Remove variable strtable which is not really used from dump_symbol_table.

parent b52eef95
...@@ -1420,7 +1420,6 @@ static void dump_symbol_table(void) ...@@ -1420,7 +1420,6 @@ static void dump_symbol_table(void)
{ {
const IMAGE_SYMBOL* sym; const IMAGE_SYMBOL* sym;
int numsym; int numsym;
const char* strtable;
numsym = PE_nt_headers->FileHeader.NumberOfSymbols; numsym = PE_nt_headers->FileHeader.NumberOfSymbols;
if (!PE_nt_headers->FileHeader.PointerToSymbolTable || !numsym) if (!PE_nt_headers->FileHeader.PointerToSymbolTable || !numsym)
...@@ -1428,8 +1427,6 @@ static void dump_symbol_table(void) ...@@ -1428,8 +1427,6 @@ static void dump_symbol_table(void)
sym = PRD(PE_nt_headers->FileHeader.PointerToSymbolTable, sym = PRD(PE_nt_headers->FileHeader.PointerToSymbolTable,
sizeof(*sym) * numsym); sizeof(*sym) * numsym);
if (!sym) return; if (!sym) return;
/* FIXME: no way to get strtable size */
strtable = (const char*)&sym[numsym];
dump_coff_symbol_table(sym, numsym, IMAGE_FIRST_SECTION(PE_nt_headers)); dump_coff_symbol_table(sym, numsym, IMAGE_FIRST_SECTION(PE_nt_headers));
} }
......
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