ID16, ID32: Compiler warning cleanup

- Initialize local state variables to 0.  Non functional changes due
  to lack of depth in static analysis scan.
This commit is contained in:
Mark Pizzolato 2020-10-20 03:09:33 -07:00
parent dceadb393e
commit 57071edbfa
2 changed files with 2 additions and 2 deletions

View file

@ -596,7 +596,7 @@ while (reason == 0) { /* loop until halted */
uint32 dev, drom, inc, lim, opnd;
uint32 op, r1, r1p1, r2, ea = 0, oPC;
uint32 rslt, t, map;
uint32 ir1, ir2, ityp;
uint32 ir1, ir2 = 0, ityp;
int32 sr, st;
if (sim_interval <= 0) { /* check clock queue */

View file

@ -1844,7 +1844,7 @@ else return 0;
uint32 int_auto (uint32 dev, uint32 cc)
{
uint32 addr, vec, by, ccw, ccwa, ccwb;
uint32 i, hw, tblad, tblen, bufe, st, t;
uint32 i, hw, tblad, tblen, bufe, st = 0, t;
int32 bufc;
uint32 oldPSW = BUILD_PSW (cc);