mirror of
https://github.com/simh/simh.git
synced 2026-04-17 08:41:28 +00:00
PDP10, PDP11, PDP18B, PDP8: Annotate switch case fall through (COVERITY)
This commit is contained in:
committed by
Mark Pizzolato
parent
fa62a00fd0
commit
d1768d2771
@@ -1,6 +1,6 @@
|
||||
/* pdp8_pt.c: PDP-8 paper tape reader/punch simulator
|
||||
|
||||
Copyright (c) 1993-2013, Robert M Supnik
|
||||
Copyright (c) 1993-2017, Robert M Supnik
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
ptr,ptp PC8E paper tape reader/punch
|
||||
|
||||
13-Mar-17 RMS Annotated fall through in switch
|
||||
17-Mar-13 RMS Modified to use central set_bootpc routine
|
||||
25-Apr-03 RMS Revised for extended file support
|
||||
04-Oct-02 RMS Added DIBs
|
||||
@@ -136,7 +137,8 @@ switch (IR & 07) { /* decode IR<9:11> */
|
||||
return (dev_done & INT_PTR)? IOT_SKP + AC: AC;
|
||||
|
||||
case 6: /* RFC!RRB */
|
||||
sim_activate (&ptr_unit, ptr_unit.wait);
|
||||
sim_activate (&ptr_unit, ptr_unit.wait); /* activate */
|
||||
/* fall through */
|
||||
case 2: /* RRB */
|
||||
dev_done = dev_done & ~INT_PTR; /* clear flag */
|
||||
int_req = int_req & ~INT_PTR; /* clear int req */
|
||||
|
||||
Reference in New Issue
Block a user