PDP8: Compiler warning cleanup
- Initialize local state variables to 0. Likely non functional changes due to lack of depth in static analysis scan. Coverity detects real problems like this. - Fix inconsistent statement indentation.
This commit is contained in:
parent
02732514e8
commit
4d923dbccf
2 changed files with 2 additions and 2 deletions
|
@ -979,7 +979,7 @@ switch (fnc) { /* at speed, check fnc *
|
|||
dt_substate = DTO_WCO;
|
||||
if (((dtsa & DTA_MODE) == 0) || (M[DT_WC] == 0))
|
||||
dtsb = dtsb | DTB_DTF; /* set DTF */
|
||||
break;
|
||||
break;
|
||||
|
||||
case DTO_WCO: case DTO_WCO | DTO_SOB: /* all done */
|
||||
dt_schedez (uptr, dir); /* sched end zone */
|
||||
|
|
|
@ -412,7 +412,7 @@ return FALSE;
|
|||
t_bool td_setpos (UNIT *uptr)
|
||||
{
|
||||
uint32 new_time, ut, ulin, udelt;
|
||||
int32 delta;
|
||||
int32 delta = 0;
|
||||
|
||||
new_time = sim_grtime (); /* current time */
|
||||
ut = new_time - uptr->LASTT; /* elapsed time */
|
||||
|
|
Loading…
Add table
Reference in a new issue