From b9cdcd109981aa762d5a6f24cb3de275a413e1ff Mon Sep 17 00:00:00 2001 From: Roberto Sancho Villa Date: Sun, 13 Mar 2022 11:47:08 -0700 Subject: [PATCH] I650: Fix Coverity identified issues --- I650/i650_cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/I650/i650_cpu.c b/I650/i650_cpu.c index 568b7549..67404d58 100644 --- a/I650/i650_cpu.c +++ b/I650/i650_cpu.c @@ -1575,10 +1575,12 @@ t_stat ExecOpcode(int opcode, int DA, if (neg > 2) { sim_debug(DEBUG_EXP, &cpu_dev, "Arm out of range (should be 0..2)\n"); reason = STOP_IO; // selected arm or unit out of range + break; } if (i > 3) { sim_debug(DEBUG_EXP, &cpu_dev, "Unit out of range (should be 0..3)\n"); reason = STOP_IO; // selected arm or unit out of range + break; } if (cpu_unit.flags & OPTION_1DSKARM) { // if 1 arm per disk enabled, alisase all disck comands to be executed on arm 0