1
0
mirror of https://github.com/simh/simh.git synced 2026-05-05 07:23:34 +00:00

GRI, H316, I7094, NOVA, SDS, sigma: Annotate switch case fall through (COVERITY)

This commit is contained in:
Bob Supnik
2017-03-13 10:31:44 -07:00
committed by Mark Pizzolato
parent 2edf3d9ded
commit 3aff340c17
8 changed files with 31 additions and 16 deletions

View File

@@ -22,6 +22,8 @@
Except as contained in this notice, the name of the author shall not be
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from the author.
13-Mar-17 RMS Annotated fall through in switch
*/
/***********************************************************************
*
@@ -165,7 +167,7 @@ binloader (FILE *fd, char *file, int loadpt)
case RELADDR_TAG:
ldata = ldata + loadaddr;
/* fall through */
case ABSDATA_TAG:
STORE:
#ifdef DEBUGLOADER
@@ -177,6 +179,7 @@ binloader (FILE *fd, char *file, int loadpt)
case ABSXFER_TAG:
transfer = TRUE;
/* fall through */
case ABSENTRY_TAG:
PC = (uint32) ldata & AMASK;
#ifdef DEBUGLOADER
@@ -188,6 +191,7 @@ binloader (FILE *fd, char *file, int loadpt)
case RELXFER_TAG:
transfer = TRUE;
/* fall through */
case RELENTRY_TAG:
ldata = (ldata + loadaddr) & AMASK;
PC = (uint32) ldata & AMASK;