mirror of
https://github.com/simh/simh.git
synced 2026-01-26 12:02:14 +00:00
TAPE: Add tests and Coverity cleanups
This commit is contained in:
4
scp.c
4
scp.c
@@ -6680,8 +6680,10 @@ for (i = 0; i < start; i++) {
|
||||
return SCPE_IERR;
|
||||
}
|
||||
for (i = start; (dptr = sim_devices[i]) != NULL; i++) {
|
||||
if (sim_switches & SWMASK('P'))
|
||||
if (sim_switches & SWMASK('P')) {
|
||||
tmxr_add_debug (dptr); /* Add TMXR debug to MUX devices */
|
||||
sim_tape_add_debug (dptr); /* Add TAPE debug to TAPE devices */
|
||||
}
|
||||
if (dptr->reset != NULL) {
|
||||
reason = dptr->reset (dptr);
|
||||
if (reason != SCPE_OK)
|
||||
|
||||
Reference in New Issue
Block a user