From b594081bdf2a6593a8a1f9435b1278b20ffd2393 Mon Sep 17 00:00:00 2001 From: Michael Tuexen Date: Wed, 7 Dec 2016 22:01:09 +0000 Subject: [PATCH] Silence a warning produced by newer versions of gcc. MFC after: 1 week --- sys/netinet/sctp_output.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c index 119c8695b32..33f02d43980 100644 --- a/sys/netinet/sctp_output.c +++ b/sys/netinet/sctp_output.c @@ -10350,8 +10350,10 @@ send_forward_tsn(struct sctp_tcb *stcb, */ if (asoc->idata_supported) { strseq_m = (struct sctp_strseq_mid *)fwdtsn; + strseq = NULL; } else { strseq = (struct sctp_strseq *)fwdtsn; + strseq_m = NULL; } /*- * Now populate the strseq list. This is done blindly -- 2.45.2