mirror of
https://github.com/simh/simh.git
synced 2026-04-19 01:17:28 +00:00
Intel-Systems: Cleanup Coverity identified issues and address range issues
This commit is contained in:
@@ -421,13 +421,8 @@ uint8 isbc202r1(t_bool io, uint8 data, uint8 devnum)
|
||||
if (io == 0) { /* read data port */
|
||||
fdc202.intff = 0; //clear interrupt FF
|
||||
fdc202.stat &= ~FDCINT;
|
||||
if (fdc202.rdychg) {
|
||||
fdc202.rtype = ROK;
|
||||
return fdc202.rtype;
|
||||
} else {
|
||||
fdc202.rtype = ROK;
|
||||
return fdc202.rtype;
|
||||
}
|
||||
fdc202.rtype = ROK;
|
||||
return fdc202.rtype;
|
||||
} else { /* write data port */
|
||||
fdc202.iopb = data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user