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:
Mark Pizzolato 2020-10-19 12:30:10 -07:00
parent 02732514e8
commit 4d923dbccf
2 changed files with 2 additions and 2 deletions

View file

@ -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 */