mirror of
https://github.com/open-simh/simh.git
synced 2026-01-26 04:02:39 +00:00
GRI, H316, I7094, NOVA, SDS, sigma: Annotate switch case fall through (COVERITY)
This commit is contained in:
committed by
Mark Pizzolato
parent
6333555947
commit
fa62a00fd0
@@ -1,6 +1,6 @@
|
||||
/* gri_sys.c: GRI-909 simulator interface
|
||||
|
||||
Copyright (c) 2001-2015, Robert M Supnik
|
||||
Copyright (c) 2001-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"),
|
||||
@@ -23,6 +23,7 @@
|
||||
used in advertising or otherwise to promote the sale, use or other dealings
|
||||
in this Software without prior written authorization from Robert M Supnik.
|
||||
|
||||
13-Mar-17 RMS Annotated fall through in switch
|
||||
14-Jan-08 RMS Added GRI-99 support
|
||||
18-Oct-02 RMS Fixed bug in symbolic decode (Hans Pufal)
|
||||
*/
|
||||
@@ -615,7 +616,7 @@ switch (j) { /* case on class */
|
||||
cptr = get_sd (cptr, val, ',', TRUE); /* src */
|
||||
if (!cptr)
|
||||
return SCPE_ARG;
|
||||
|
||||
/* fall through */
|
||||
case F_V_SFI: /* skip func impl */
|
||||
cptr = get_fnc (cptr, val); /* fo # */
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user