1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-18 17:17:38 +00:00

IntelSystems: Silence Coverity generated warning

This commit is contained in:
Bill Beech 2020-02-04 17:02:18 -07:00
parent 4cd8aff027
commit e48077d7f3

View File

@ -505,13 +505,8 @@ uint8 zx200ar1DD(t_bool io, uint8 data, uint8 devnum)
zx200a.intff = 0; //clear interrupt FF
if (zx200a.intff)
zx200a.DDstat &= ~FDCINT;
if (zx200a.rdychg) {
zx200a.rtype = ROK;
return zx200a.rtype;
} else {
zx200a.rtype = ROK;
return zx200a.rtype;
}
zx200a.rtype = ROK;
return zx200a.rtype;
} else { /* write control port */
zx200a.iopb = data;
}