1
0
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:
Richard Cornwell
2020-08-30 22:56:07 -04:00
parent 7beeaae7cc
commit 995ac13063

View File

@@ -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;
}