1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-25 19:57:36 +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:44:51 -07:00
committed by Mark Pizzolato
parent 6333555947
commit fa62a00fd0
8 changed files with 34 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
/* sds_drm.c: SDS 940 Project Genie drum simulator
Copyright (c) 2002-2013, Robert M. Supnik
Copyright (c) 2002-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 @@
drm drum
13-Mar-17 RMS Annotated fall through in switch
03-Sep-13 RMS Added explicit void * cast
The drum is buffered in memory.
@@ -236,7 +237,7 @@ if (drm_sta != DRM_SXFR) { /* fetch drum prog? */
case DRM_EIE: /* end, int if err */
if (!drm_err)
return SCPE_OK;
/* fall through */
case DRM_EIU: /* end, int uncond */
int_req = int_req | INT_DRM;
return SCPE_OK;