aboutsummaryrefslogtreecommitdiff
path: root/hw/mpcore.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/mpcore.c')
-rw-r--r--hw/mpcore.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/mpcore.c b/hw/mpcore.c
index 17c8d6c6e1..914087addf 100644
--- a/hw/mpcore.c
+++ b/hw/mpcore.c
@@ -105,6 +105,8 @@ static uint32_t mpcore_timer_read(mpcore_timer_state *s, int offset)
return s->control;
case 12: /* Interrupt status. */
return s->status;
+ default:
+ return 0;
}
}