mirror of
https://github.com/open-simh/simh.git
synced 2026-05-03 14:49:02 +00:00
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:
@@ -596,7 +596,7 @@ while (reason == 0) { /* loop until halted */
|
|||||||
uint32 dev, drom, inc, lim, opnd;
|
uint32 dev, drom, inc, lim, opnd;
|
||||||
uint32 op, r1, r1p1, r2, ea = 0, oPC;
|
uint32 op, r1, r1p1, r2, ea = 0, oPC;
|
||||||
uint32 rslt, t, map;
|
uint32 rslt, t, map;
|
||||||
uint32 ir1, ir2, ityp;
|
uint32 ir1, ir2 = 0, ityp;
|
||||||
int32 sr, st;
|
int32 sr, st;
|
||||||
|
|
||||||
if (sim_interval <= 0) { /* check clock queue */
|
if (sim_interval <= 0) { /* check clock queue */
|
||||||
|
|||||||
@@ -1844,7 +1844,7 @@ else return 0;
|
|||||||
uint32 int_auto (uint32 dev, uint32 cc)
|
uint32 int_auto (uint32 dev, uint32 cc)
|
||||||
{
|
{
|
||||||
uint32 addr, vec, by, ccw, ccwa, ccwb;
|
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;
|
int32 bufc;
|
||||||
uint32 oldPSW = BUILD_PSW (cc);
|
uint32 oldPSW = BUILD_PSW (cc);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user