Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Dec 2016 22:01:09 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r309685 - head/sys/netinet
Message-ID:  <201612072201.uB7M19aX090534@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612072201.uB7M19aX090534>