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

Compiler suggested fixes

This commit is contained in:
Mark Pizzolato
2013-01-23 12:36:03 -08:00
parent f7e8024c59
commit 9091330a5f
6 changed files with 10 additions and 8 deletions

View File

@@ -502,8 +502,7 @@ int32 fdctrk(int32 io, int32 data)
dsk_unit[cur_dsk].u4 = data & 0xFF;
if (dsk_dev.dctrl & DEBUG_read)
printf("\nfdctrk: Drive %d track set to %d", cur_dsk, dsk_unit[cur_dsk].u4);
} else
;
}
if (dsk_dev.dctrl & DEBUG_write)
printf("\nfdctrk: Drive %d track read as %d", cur_dsk, dsk_unit[cur_dsk].u4);
return dsk_unit[cur_dsk].u4;
@@ -519,8 +518,7 @@ int32 fdcsec(int32 io, int32 data)
dsk_unit[cur_dsk].u5 = 1;
if (dsk_dev.dctrl & DEBUG_write)
printf("\nfdcsec: Drive %d sector set to %d", cur_dsk, dsk_unit[cur_dsk].u5);
} else
;
}
if (dsk_dev.dctrl & DEBUG_read)
printf("\nfdcsec: Drive %d sector read as %d", cur_dsk, dsk_unit[cur_dsk].u5);
return dsk_unit[cur_dsk].u5;