Avoid a compiler warning.
This commit is contained in:
parent
4021f530d7
commit
31c4aa736d
|
@ -144,17 +144,13 @@ void memory_examine(const struct dbg_lvalue *lvalue, int count, char format)
|
||||||
ADDRESS addr;
|
ADDRESS addr;
|
||||||
void *linear;
|
void *linear;
|
||||||
|
|
||||||
if (lvalue->type.id == dbg_itype_none)
|
if (lvalue->type.id == dbg_itype_none) addr = lvalue->addr;
|
||||||
{
|
|
||||||
addr = lvalue->addr;
|
|
||||||
linear = memory_to_linear_addr( &addr );
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
linear = types_extract_as_integer( lvalue );
|
|
||||||
addr.Mode = AddrModeFlat;
|
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)
|
if (format != 'i' && count > 1)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue