1
0
mirror of https://github.com/simh/simh.git synced 2026-04-13 23:44:44 +00:00

SCP: Removed redundant SCPE_NOTATT which duplicates SCPE_UNATT

This commit is contained in:
Mark Pizzolato
2019-02-01 16:07:12 -08:00
parent 0869cef132
commit 75d18d4db0
6 changed files with 18 additions and 19 deletions

View File

@@ -547,10 +547,11 @@ t_bool auto_format = FALSE;
if (uptr == NULL)
return SCPE_IERR;
if (!(uptr->flags & UNIT_ATT))
return SCPE_UNATT;
ctx = (struct tape_context *)uptr->tape_ctx;
f = MT_GET_FMT (uptr);
if ((ctx == NULL) || !(uptr->flags & UNIT_ATT))
return SCPE_IERR;
if (uptr->io_flush)
uptr->io_flush (uptr); /* flush buffered data */