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:
parent
02e7483ee7
commit
f2f4bfa8fb
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue