Author: tuexen
Date: Wed Dec 7 22:01:09 2016
New Revision: 309685
URL: https://svnweb.freebsd.org/changeset/base/309685
Log:
Silence a warning produced by newer versions of gcc.
MFC after: 1 week
Modified:
head/sys/netinet/sctp_output.c
Modified: head/sys/netinet/sctp_output.c
==============================================================================
--- head/sys/netinet/sctp_output.c Wed Dec 7 21:47:14 2016
(r309684)
+++ head/sys/netinet/sctp_output.c Wed Dec 7 22:01:09 2016
(r309685)
@@ -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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"