* [Qemu-devel] [PATCH] avoid unreachable statement after break
@ 2010-01-15 8:41 Paolo Bonzini
2010-01-19 22:40 ` Anthony Liguori
0 siblings, 1 reply; 2+ messages in thread
From: Paolo Bonzini @ 2010-01-15 8:41 UTC (permalink / raw)
To: qemu-devel
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
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()) {
--
1.6.5.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] avoid unreachable statement after break
2010-01-15 8:41 [Qemu-devel] [PATCH] avoid unreachable statement after break Paolo Bonzini
@ 2010-01-19 22:40 ` Anthony Liguori
0 siblings, 0 replies; 2+ messages in thread
From: Anthony Liguori @ 2010-01-19 22:40 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: qemu-devel
On 01/15/2010 02:41 AM, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini<pbonzini@redhat.com>
>
Applied. Thanks.
Regards,
Anthony Liguori
> ---
> 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()) {
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-19 22:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-15 8:41 [Qemu-devel] [PATCH] avoid unreachable statement after break Paolo Bonzini
2010-01-19 22:40 ` Anthony Liguori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).