Commit 88c06077 authored by Alexandre Julliard's avatar Alexandre Julliard

winedump: Remove unused variables.

parent af54377e
...@@ -1496,7 +1496,7 @@ static void dump_type(int len, const char *hlp_strings) ...@@ -1496,7 +1496,7 @@ static void dump_type(int len, const char *hlp_strings)
unsigned flags; unsigned flags;
} misc; } misc;
int typeinfo_start_offset, extra, member_offset, href_offset, i; int typeinfo_start_offset, extra, member_offset, href_offset, i;
int vars_header_bytes = 0, vars_bytes = 0, saved_offset; int saved_offset;
const void *block; const void *block;
const struct sltg_typeinfo_header *ti; const struct sltg_typeinfo_header *ti;
const struct sltg_member_header *mem; const struct sltg_member_header *mem;
...@@ -1638,7 +1638,7 @@ static void dump_type(int len, const char *hlp_strings) ...@@ -1638,7 +1638,7 @@ static void dump_type(int len, const char *hlp_strings)
value, vars_start_offset, value + vars_start_offset); value, vars_start_offset, value + vars_start_offset);
print_offset(); print_offset();
printf("type:\n"); printf("type:\n");
vars_bytes += sltg_print_compound_type(vars_start_offset, value); sltg_print_compound_type(vars_start_offset, value);
} }
else else
{ {
...@@ -1681,13 +1681,7 @@ static void dump_type(int len, const char *hlp_strings) ...@@ -1681,13 +1681,7 @@ static void dump_type(int len, const char *hlp_strings)
else else
printf("helpstring offset = ffffh\n"); printf("helpstring offset = ffffh\n");
if (magic & 0x20) if (magic & 0x20) print_short_hex("varflags");
{
print_short_hex("varflags");
vars_header_bytes += 2;
}
vars_header_bytes += sizeof(struct sltg_variable);
if (next != -1) if (next != -1)
{ {
......
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