mirror of
https://github.com/simh/simh.git
synced 2026-05-05 15:33:34 +00:00
SWTP: remove error path extra close (COVERITY)
This commit is contained in:
@@ -218,7 +218,6 @@ t_stat BOOTROM_reset (DEVICE *dptr)
|
|||||||
if (fp == NULL) {
|
if (fp == NULL) {
|
||||||
printf("\tUnable to open ROM file %s\n",BOOTROM_unit.filename);
|
printf("\tUnable to open ROM file %s\n",BOOTROM_unit.filename);
|
||||||
printf("\tNo ROM image loaded!!!\n");
|
printf("\tNo ROM image loaded!!!\n");
|
||||||
fclose(fp);
|
|
||||||
return SCPE_OK;
|
return SCPE_OK;
|
||||||
}
|
}
|
||||||
j = 0; /* load EPROM file */
|
j = 0; /* load EPROM file */
|
||||||
|
|||||||
Reference in New Issue
Block a user