aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2016-12-07 22:01:09 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2016-12-07 22:01:09 +0000
commitb594081bdf2a6593a8a1f9435b1278b20ffd2393 (patch)
tree8855424eb1a25bdbe1a40d79f9f266b83240f7f1 /sys/netinet
parentf1b276bec8cbc02676c42632c4dab5aa08038e46 (diff)
downloadsrc-b594081bdf2a6593a8a1f9435b1278b20ffd2393.tar.gz
src-b594081bdf2a6593a8a1f9435b1278b20ffd2393.zip
Silence a warning produced by newer versions of gcc.
MFC after: 1 week
Notes
Notes: svn path=/head/; revision=309685
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/sctp_output.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c
index 119c8695b328..33f02d43980c 100644
--- a/sys/netinet/sctp_output.c
+++ b/sys/netinet/sctp_output.c
@@ -10350,8 +10350,10 @@ sctp_fill_in_rest:
*/
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