diff --git a/hw/xbox/nvnet.c b/hw/xbox/nvnet.c index 824d114da7..7a246857d6 100644 --- a/hw/xbox/nvnet.c +++ b/hw/xbox/nvnet.c @@ -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; } }