1
0
mirror of https://github.com/simh/simh.git synced 2026-01-25 11:46:37 +00:00

PDP11, PDP8, VAX8200: Fix Coverity flagged warnings

This commit is contained in:
Mark Pizzolato
2019-10-20 22:57:02 -07:00
parent 0f72a160fe
commit 281837c68a
3 changed files with 7 additions and 9 deletions

View File

@@ -329,8 +329,9 @@ if ((ct_sra & SRA_ENAB) && (uptr->flags & UNIT_ATT)) { /* enabled, att? */
">>CT skip gap: op=%o, old_sta = %o, pos=%d\n",
fnc, uptr->UST, uptr->pos);
if (uptr->UST) /* skip file gap */
sim_tape_rdrecr (uptr, ct_xb, &t, CT_MAXFR);
else sim_tape_rdrecf (uptr, ct_xb, &t, CT_MAXFR);
(void)sim_tape_rdrecr (uptr, ct_xb, &t, CT_MAXFR);
else
(void)sim_tape_rdrecf (uptr, ct_xb, &t, CT_MAXFR);
}
}
else uptr->UST = 0;