mirror of
https://github.com/rcornwell/sims.git
synced 2026-02-18 13:27:51 +00:00
IBM360: Clean up coverity error.
This commit is contained in:
@@ -356,7 +356,7 @@ lpr_srv(UNIT *uptr) {
|
||||
if (cmd == 7) {
|
||||
uptr->CMD &= ~(LPR_FULL|LPR_CMDMSK);
|
||||
uptr->POS = 0;
|
||||
chan_read_byte(addr, &ch);
|
||||
(void)chan_read_byte(addr, &ch);
|
||||
chan_end(addr, SNS_DEVEND|SNS_CHNEND);
|
||||
return SCPE_OK;
|
||||
}
|
||||
@@ -368,7 +368,7 @@ lpr_srv(UNIT *uptr) {
|
||||
else
|
||||
uptr->CMD |= LPR_DATCHK;
|
||||
uptr->CMD &= ~(LPR_CMDMSK);
|
||||
chan_read_byte(addr, &ch);
|
||||
(void)chan_read_byte(addr, &ch);
|
||||
chan_end(addr, SNS_DEVEND|SNS_CHNEND);
|
||||
return SCPE_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user