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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user