Skip to contentSkip to conversation

avoid unreachable statement after break

PATCH Applied Paolo Bonzini 2 participants 2 messages Jan 15, 2010 – Jan 19, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 avoid unreachable statement after break

---
 cpu-exec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
cpu-exec.c +1 -1
index 44d45fc..d974141 100644
@@ -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()) {
Signature · 1 line
1.6.5.2
#1 lore raw
Quoted 2 lines · Paolo Bonzini

Applied. Thanks.

Regards,

Anthony Liguori

Quoted 20 lines
---
  cpu-exec.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
cpu-exec.c +1 -1
index 44d45fc..d974141 100644
@@ -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()) {