Commit 31c4aa73 authored by Alexandre Julliard's avatar Alexandre Julliard

Avoid a compiler warning.

parent 4021f530
......@@ -144,17 +144,13 @@ void memory_examine(const struct dbg_lvalue *lvalue, int count, char format)
ADDRESS addr;
void *linear;
if (lvalue->type.id == dbg_itype_none)
{
addr = lvalue->addr;
linear = memory_to_linear_addr( &addr );
}
if (lvalue->type.id == dbg_itype_none) addr = lvalue->addr;
else
{
linear = types_extract_as_integer( lvalue );
addr.Mode = AddrModeFlat;
addr.Offset = (unsigned long)linear;
addr.Offset = types_extract_as_integer( lvalue );
}
linear = memory_to_linear_addr( &addr );
if (format != 'i' && count > 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