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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to