winedump: Remove unused variables.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2022-04-22 16:59:42 +02:00
parent af54377eb6
commit 88c06077f8
1 changed files with 3 additions and 9 deletions

View File

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