mirror of
https://github.com/simh/simh.git
synced 2026-02-26 00:34:36 +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 @@
|
||||
/* sigma_mt.c: Sigma 732X 9-track magnetic tape
|
||||
|
||||
Copyright (c) 2007-2008, Robert M. Supnik
|
||||
Copyright (c) 2007-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,8 @@
|
||||
|
||||
mt 7320 and 7322/7323 magnetic tape
|
||||
|
||||
13-Mar-17 RMS Annotated fall through in switch
|
||||
|
||||
Magnetic tapes are represented as a series of variable records
|
||||
of the form:
|
||||
|
||||
@@ -475,7 +477,8 @@ switch (st) {
|
||||
case MTSE_FMT: /* illegal fmt */
|
||||
case MTSE_UNATT: /* not attached */
|
||||
case MTSE_WRP: /* write protect */
|
||||
chan_set_chf (mt_dib.dva, CHF_XMME);
|
||||
chan_set_chf (mt_dib.dva, CHF_XMME); /* set err */
|
||||
/* fall through */
|
||||
case MTSE_OK: /* no error */
|
||||
chan_uen (mt_dib.dva); /* uend */
|
||||
return SCPE_IERR;
|
||||
|
||||
Reference in New Issue
Block a user