Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2018 14:51:20 +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: r333979 - head/sys/netinet
Message-ID:  <201805211451.w4LEpKah016805@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Mon May 21 14:51:20 2018
New Revision: 333979
URL: https://svnweb.freebsd.org/changeset/base/333979

Log:
  Make clear why there is an assignment, which is not necessary.

Modified:
  head/sys/netinet/sctp_indata.c

Modified: head/sys/netinet/sctp_indata.c
==============================================================================
--- head/sys/netinet/sctp_indata.c	Mon May 21 13:08:44 2018	(r333978)
+++ head/sys/netinet/sctp_indata.c	Mon May 21 14:51:20 2018	(r333979)
@@ -1671,8 +1671,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 = NULL;
+	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?201805211451.w4LEpKah016805>