Gerald Pfeifer : winedump: Remove variable strtable which is not really used from dump_symbol_table.
Alexandre Julliard
julliard at winehq.org
Mon Apr 26 13:59:25 CDT 2010
Module: wine
Branch: master
Commit: 4e7fe5823ac3cb3dba1579da0570134905ba44da
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4e7fe5823ac3cb3dba1579da0570134905ba44da
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Sat Apr 24 12:43:48 2010 +0200
winedump: Remove variable strtable which is not really used from dump_symbol_table.
---
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));
}
More information about the wine-cvs
mailing list