From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NVhxR-0008W1-NV for qemu-devel@nongnu.org; Fri, 15 Jan 2010 03:55:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NVhxN-0008U5-Pb for qemu-devel@nongnu.org; Fri, 15 Jan 2010 03:55:05 -0500 Received: from [199.232.76.173] (port=42765 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVhxN-0008Tz-JP for qemu-devel@nongnu.org; Fri, 15 Jan 2010 03:55:01 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60395) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NVhju-0003hV-Mu for qemu-devel@nongnu.org; Fri, 15 Jan 2010 03:41:06 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0F8f4Lv022130 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 15 Jan 2010 03:41:04 -0500 Received: from localhost.localdomain (vpn2-8-52.ams2.redhat.com [10.36.8.52]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0F8f2sA001159 for ; Fri, 15 Jan 2010 03:41:03 -0500 From: Paolo Bonzini Date: Fri, 15 Jan 2010 09:41:01 +0100 Message-Id: <1263544861-18416-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH] avoid unreachable statement after break List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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()) { -- 1.6.5.2