Missing break spotted by Coverity.

Signed-off-by: Markus Armbruster <[email protected]>
---
 kvm-tpr-opt.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kvm-tpr-opt.c b/kvm-tpr-opt.c
index 4b2bd47..14c4b36 100644
--- a/kvm-tpr-opt.c
+++ b/kvm-tpr-opt.c
@@ -152,6 +152,7 @@ static int instruction_is_ok(CPUState *env, uint64_t rip, 
int is_write)
         if (modrm_reg(b2) != 6 || !is_abs_modrm(b2))
             return 0;
         addr_offset = 2;
+        break;
     default:
        return 0;
     }
-- 
1.7.6.4

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to