summaryrefslogtreecommitdiff
path: root/cpu-exec.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2010-01-15 09:41:01 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-01-19 16:31:03 -0600
commitdff07ef19e17bcc002bd6d4108c165808471e6f4 (patch)
tree489aadc1836ff1ded6008ed40711df3cffb841a0 /cpu-exec.c
parent4abca235c4f3603d70d6fce083cc1e3be831a79f (diff)
downloadqemu-dff07ef19e17bcc002bd6d4108c165808471e6f4.tar.gz
qemu-dff07ef19e17bcc002bd6d4108c165808471e6f4.tar.bz2
qemu-dff07ef19e17bcc002bd6d4108c165808471e6f4.zip
avoid unreachable statement after break
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'cpu-exec.c')
-rw-r--r--cpu-exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index 13b8daa912..0256edf1f3 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -313,9 +313,9 @@ int cpu_exec(CPUState *env1)
#elif defined(TARGET_M68K)
do_interrupt(0);
#endif
+ env->exception_index = -1;
#endif
}
- env->exception_index = -1;
}
if (kvm_enabled()) {