Initialize hdrlen to 0 to avoid clang warning in NOINET case.

This commit is contained in:
Roman Divacky 2012-11-10 10:41:00 +00:00
parent 9fc1923565
commit 8252626fb4

View File

@ -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);