Commit ced33792 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

winedbg: Avoid "uninitialized variable" compiler warning in types_extract_as_longlong.

parent 430df1ca
...@@ -56,7 +56,7 @@ BOOL types_get_real_type(struct dbg_type* type, DWORD* tag) ...@@ -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, LONGLONG types_extract_as_longlong(const struct dbg_lvalue* lvalue,
unsigned* psize, BOOL *issigned) unsigned* psize, BOOL *issigned)
{ {
LONGLONG rtn; LONGLONG rtn = 0;
DWORD tag, bt; DWORD tag, bt;
DWORD64 size; DWORD64 size;
struct dbg_type type = lvalue->type; struct dbg_type type = lvalue->type;
...@@ -123,7 +123,6 @@ LONGLONG types_extract_as_longlong(const struct dbg_lvalue* lvalue, ...@@ -123,7 +123,6 @@ LONGLONG types_extract_as_longlong(const struct dbg_lvalue* lvalue,
default: default:
WINE_FIXME("Unsupported tag %u\n", tag); WINE_FIXME("Unsupported tag %u\n", tag);
RaiseException(DEBUG_STATUS_NOT_AN_INTEGER, 0, 0, NULL); RaiseException(DEBUG_STATUS_NOT_AN_INTEGER, 0, 0, NULL);
rtn = 0;
} }
return rtn; return rtn;
......
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