mirror of https://github.com/xemu-project/xemu.git
nvnet: Always return value in nvnet_get_reg
This commit is contained in:
parent
a72cc138f4
commit
9004009bb3
|
@ -415,6 +415,7 @@ static uint32_t nvnet_get_reg(NvNetState *s, hwaddr addr, unsigned int size)
|
|||
|
||||
default:
|
||||
assert(0); /* Unsupported register access. */
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue