mirror of
https://github.com/open-simh/simh.git
synced 2026-01-14 07:40:35 +00:00
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
@ -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…
x
Reference in New Issue
Block a user