From patchwork Fri Jan 15 08:41:01 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: avoid unreachable statement after break From: Paolo Bonzini X-Patchwork-Id: 42958 Message-Id: <1263544861-18416-1-git-send-email-pbonzini@redhat.com> To: qemu-devel@nongnu.org Date: Fri, 15 Jan 2010 09:41:01 +0100 Signed-off-by: Paolo Bonzini --- cpu-exec.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cpu-exec.c b/cpu-exec.c index 44d45fc..d974141 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -316,9 +316,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()) {