Initialize hdrlen to 0 to avoid clang warning in NOINET case.
This commit is contained in:
parent
9fc1923565
commit
8252626fb4
@ -519,6 +519,7 @@ tcp_twrespond(struct tcptw *tw, int flags)
|
||||
struct ip6_hdr *ip6 = NULL;
|
||||
int isipv6 = inp->inp_inc.inc_flags & INC_ISIPV6;
|
||||
#endif
|
||||
hdrlen = 0; /* Keep compiler happy */
|
||||
|
||||
INP_WLOCK_ASSERT(inp);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user