1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-04-03 12:22:52 +00:00

IBM360: Fixed Coverity errors.

This commit is contained in:
Richard Cornwell
2018-10-06 00:23:32 -04:00
parent bcb6cd678b
commit 427a9abfcf

View File

@@ -801,6 +801,8 @@ uint16 scan_chan(uint8 mask) {
if (pend) {
irq_pend = 1;
ch = find_subchan(pend);
if (ch < 0)
return 0;
if (loading && loading == pend) {
chan_status[ch] = 0;
return pend;