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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user