winedump: Remove unused variable.

This commit is contained in:
Huw Davies 2024-08-26 07:58:25 +01:00 committed by Alexandre Julliard
parent 5695b3a40c
commit cbe443295d
Notes: Alexandre Julliard 2024-08-27 23:09:27 +02:00
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/wine/merge_requests/6363

View file

@ -237,7 +237,6 @@ static BOOL symbol_from_prototype (parsed_symbol *sym, const char *proto)
static const char *get_type (parsed_symbol *sym, const char *proto, int arg)
{
BOOL is_const, is_volatile, is_struct, is_signed, is_unsigned;
int ptrs = 0;
const char *iter, *base_type, *catch_unsigned, *proto_str;
char dest_type, *type_str;
@ -284,9 +283,7 @@ static const char *get_type (parsed_symbol *sym, const char *proto, int arg)
/* FIXME: skip const/volatile here too */
for (proto_str = iter; *proto_str; proto_str++)
if (*proto_str == '*')
ptrs++;
else if (*proto_str != ' ')
if (*proto_str != '*' && *proto_str != ' ')
break;
if (!*proto_str)