aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-30 18:16:09 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-30 18:16:09 +0000
commit98448f58c10033a0f7fcd0673cce4626506403fa (patch)
treeb82e2aca9f6df877d009b59f440b14718b6b4a0d /vl.c
parent223f0d72a88e1835b3c4c2bb1fa55c5562d1231a (diff)
Silence some warnings about uninitialized variables
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5362 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index d7da9b57af..dec8d4f499 100644
--- a/vl.c
+++ b/vl.c
@@ -7831,8 +7831,10 @@ static int main_loop(void)
timeout = 0;
}
} else {
- if (shutdown_requested)
+ if (shutdown_requested) {
+ ret = EXCP_INTERRUPT;
break;
+ }
timeout = 10;
}
#ifdef CONFIG_PROFILER