1
0
mirror of https://github.com/simh/simh.git synced 2026-01-25 19:56:25 +00:00

All: Fix various Coverity complaints

This commit is contained in:
Mark Pizzolato
2019-04-03 09:32:54 -07:00
parent e6490223eb
commit fa77969c57
7 changed files with 14 additions and 8 deletions

View File

@@ -509,6 +509,10 @@ while (reason == 0) { /* loop until halted */
case 07: /* src > 0 */
jmp = (t != 0) && !(t & SIGN);
break;
default: /* Impossible Case - Silence Coverity */
jmp = 0;
break;
}
if (jmp) { /* jump taken? */