Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 May 2019 10:57:27 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r347147 - stable/11/sys/netinet
Message-ID:  <201905051057.x45AvRvB081963@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Sun May  5 10:57:27 2019
New Revision: 347147
URL: https://svnweb.freebsd.org/changeset/base/347147

Log:
  MFC r333979:
  Make clear why there is an assignment, which is not necessary.
  To resolve the merge conflict, this also contains the changes
  from r333869.

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

Modified: stable/11/sys/netinet/sctp_indata.c
==============================================================================
--- stable/11/sys/netinet/sctp_indata.c	Sun May  5 10:42:32 2019	(r347146)
+++ stable/11/sys/netinet/sctp_indata.c	Sun May  5 10:57:27 2019	(r347147)
@@ -1669,9 +1669,7 @@ sctp_process_a_data_chunk(struct sctp_tcb *stcb, struc
     struct sctp_nets *net, uint32_t *high_tsn, int *abort_flag,
     int *break_flag, int last_chunk, uint8_t chk_type)
 {
-	/* Process a data chunk */
-	/* struct sctp_tmit_chunk *chk; */
-	struct sctp_tmit_chunk *chk;
+	struct sctp_tmit_chunk *chk = NULL;	/* make gcc happy */
 	uint32_t tsn, fsn, gap, mid;
 	struct mbuf *dmbuf;
 	int the_len;



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