aboutsummaryrefslogtreecommitdiff
path: root/hw/mpcore.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-05 17:56:40 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-05 17:56:40 +0000
commita38131b669253fe40eff41e17ab7d1df78adbcd8 (patch)
tree1588e622b8523f82e02a5a09dbef6fa5dfd95dd3 /hw/mpcore.c
parentb3efe5c890f3fa54a3ab48f82ef01d474069493b (diff)
Attached patch contains warning fixes.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5888 c046a42c-6fe2-441c-8c8c-71466251a162
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;
}
}