mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 14:10:32 +00:00
winedbg: Avoid "uninitialized variable" compiler warning in types_extract_as_longlong.
This commit is contained in:
parent
430df1ca61
commit
ced33792ff
@ -56,7 +56,7 @@ BOOL types_get_real_type(struct dbg_type* type, DWORD* tag)
|
||||
LONGLONG types_extract_as_longlong(const struct dbg_lvalue* lvalue,
|
||||
unsigned* psize, BOOL *issigned)
|
||||
{
|
||||
LONGLONG rtn;
|
||||
LONGLONG rtn = 0;
|
||||
DWORD tag, bt;
|
||||
DWORD64 size;
|
||||
struct dbg_type type = lvalue->type;
|
||||
@ -123,7 +123,6 @@ LONGLONG types_extract_as_longlong(const struct dbg_lvalue* lvalue,
|
||||
default:
|
||||
WINE_FIXME("Unsupported tag %u\n", tag);
|
||||
RaiseException(DEBUG_STATUS_NOT_AN_INTEGER, 0, 0, NULL);
|
||||
rtn = 0;
|
||||
}
|
||||
|
||||
return rtn;
|
||||
|
Loading…
Reference in New Issue
Block a user