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
|
@ -412,7 +412,7 @@ return FALSE;
|
||||||
t_bool td_setpos (UNIT *uptr)
|
t_bool td_setpos (UNIT *uptr)
|
||||||
{
|
{
|
||||||
uint32 new_time, ut, ulin, udelt;
|
uint32 new_time, ut, ulin, udelt;
|
||||||
int32 delta;
|
int32 delta = 0;
|
||||||
|
|
||||||
new_time = sim_grtime (); /* current time */
|
new_time = sim_grtime (); /* current time */
|
||||||
ut = new_time - uptr->LASTT; /* elapsed time */
|
ut = new_time - uptr->LASTT; /* elapsed time */
|
||||||
|
|
Loading…
Add table
Reference in a new issue