svn commit: r310221 - stable/11/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Sun Dec 18 13:10:08 UTC 2016


Author: tuexen
Date: Sun Dec 18 13:10:07 2016
New Revision: 310221
URL: https://svnweb.freebsd.org/changeset/base/310221

Log:
  MFC r309685:
  
  Silence a warning produced by newer versions of gcc.

Modified:
  stable/11/sys/netinet/sctp_output.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/netinet/sctp_output.c
==============================================================================
--- stable/11/sys/netinet/sctp_output.c	Sun Dec 18 13:05:42 2016	(r310220)
+++ stable/11/sys/netinet/sctp_output.c	Sun Dec 18 13:10:07 2016	(r310221)
@@ -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


More information about the svn-src-stable mailing list