TMXR: Fix potential uninitialized variable reference Coverity warning

The uninitialized case would never occur since the routing containing that
code would never be called when the conditions that would leave the variable
uninitialized.
This commit is contained in:
Mark Pizzolato 2018-04-25 14:15:45 -07:00
parent 02e7483ee7
commit f2f4bfa8fb

View file

@ -704,7 +704,7 @@ else /* Telnet connection */
static int32 tmxr_write (TMLN *lp, int32 length)
{
int32 written;
int32 written = 0;
int32 i = lp->txbpr;
if ((lp->txbps) && (sim_gtime () < lp->txnexttime) && (sim_is_running))