I7000: Fixed coverity warnings.
This commit is contained in:
parent
4a8564aa51
commit
8aa6c9fde6
3 changed files with 4 additions and 3 deletions
|
@ -244,9 +244,10 @@ print_line(UNIT * uptr, int chan, int unit)
|
|||
for (; i > 1; i--) {
|
||||
if (uptr->flags & UNIT_ATT)
|
||||
sim_fwrite("\r\n", 1, 2, uptr->fileref);
|
||||
if (uptr->flags & ECHO)
|
||||
if (uptr->flags & ECHO) {
|
||||
sim_putchar('\r');
|
||||
sim_putchar('\n');
|
||||
}
|
||||
uptr->u4++;
|
||||
if (uptr->u4 > (int32)uptr->capac) {
|
||||
uptr->u4 = 1;
|
||||
|
|
|
@ -354,7 +354,7 @@ sim_instr(void)
|
|||
f |= chan_active(shiftcnt);
|
||||
}
|
||||
sim_interval = 0;
|
||||
sim_process_event();
|
||||
(void)sim_process_event();
|
||||
} while (f);
|
||||
if (reason != 0)
|
||||
IC = MA;
|
||||
|
|
|
@ -921,7 +921,7 @@ sim_instr(void)
|
|||
}
|
||||
/* Hold out until all channels have idled out */
|
||||
sim_interval = 0;
|
||||
sim_process_event();
|
||||
(void)sim_process_event();
|
||||
chan_proc();
|
||||
f = chan_active(0);
|
||||
for (shiftcnt = 1; shiftcnt < NUM_CHAN; shiftcnt++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue