1
0
mirror of https://github.com/simh/simh.git synced 2026-01-25 19:56:25 +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

@@ -1809,8 +1809,10 @@ int (*close_function)(FILE *f);
FILE *fileref;
t_bool auto_format;
if ((uptr == NULL) || !(uptr->flags & UNIT_ATT))
return SCPE_NOTATT;
if (uptr == NULL)
return SCPE_IERR;
if (!(uptr->flags & UNIT_ATT))
return SCPE_UNATT;
ctx = (struct disk_context *)uptr->disk_ctx;
fileref = uptr->fileref;