Initialize if_hw_tsomaxsegsize to 0 to appease gcc's flow analysis as a

fail-safe.
This commit is contained in:
Warner Losh 2019-09-06 18:25:42 +00:00
parent e996e2bd6e
commit 82e837f803

View File

@ -195,7 +195,7 @@ tcp_output(struct tcpcb *tp)
uint32_t recwin, sendwin;
int off, flags, error = 0; /* Keep compiler happy */
u_int if_hw_tsomaxsegcount = 0;
u_int if_hw_tsomaxsegsize;
u_int if_hw_tsomaxsegsize = 0;
struct mbuf *m;
struct ip *ip = NULL;
#ifdef TCPDEBUG