aboutsummaryrefslogtreecommitdiff
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
commit301d2908b99cc7391e8c7683a3df5dc75f7b62e6 (patch)
tree489aadc1836ff1ded6008ed40711df3cffb841a0
parentf8fb2fa85935b284b703b946c53f92035a5b6858 (diff)
avoid unreachable statement after break
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-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()) {