Remove variable strtable which is not really used from dump_symbol_table.
Gerald Pfeifer
gerald at pfeifer.com
Sat Apr 24 05:43:48 CDT 2010
---
tools/winedump/pe.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/tools/winedump/pe.c b/tools/winedump/pe.c
index 7275b2c..c06db31 100644
--- a/tools/winedump/pe.c
+++ b/tools/winedump/pe.c
@@ -1420,7 +1420,6 @@ static void dump_symbol_table(void)
{
const IMAGE_SYMBOL* sym;
int numsym;
- const char* strtable;
numsym = PE_nt_headers->FileHeader.NumberOfSymbols;
if (!PE_nt_headers->FileHeader.PointerToSymbolTable || !numsym)
@@ -1428,8 +1427,6 @@ static void dump_symbol_table(void)
sym = PRD(PE_nt_headers->FileHeader.PointerToSymbolTable,
sizeof(*sym) * numsym);
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));
}
--
1.6.6.2
More information about the wine-patches
mailing list