svn commit: r213620 - head/usr.bin/netstat

Dimitry Andric dim at FreeBSD.org
Fri Oct 8 20:40:05 UTC 2010


Author: dim
Date: Fri Oct  8 20:40:05 2010
New Revision: 213620
URL: http://svn.freebsd.org/changeset/base/213620

Log:
  Remove superfluous cast in usr.bin/netstat/sctp.c.
  
  Found by:	clang
  Submitted by:	Norberto Lopes, nlopes dot ml at gmail dot com
  Approved by:	rpaulo (mentor)

Modified:
  head/usr.bin/netstat/sctp.c

Modified: head/usr.bin/netstat/sctp.c
==============================================================================
--- head/usr.bin/netstat/sctp.c	Fri Oct  8 20:39:45 2010	(r213619)
+++ head/usr.bin/netstat/sctp.c	Fri Oct  8 20:40:05 2010	(r213620)
@@ -355,7 +355,7 @@ sctp_process_inpcb(struct xsctp_inpcb *x
 		first = 0;
 	}
 	if (Lflag && xinpcb->maxqlen == 0) {
-		(int)sctp_skip_xinpcb_ifneed(buf, buflen, offset);
+		sctp_skip_xinpcb_ifneed(buf, buflen, offset);
 		return;
 	}
 	if (Aflag)


More information about the svn-src-head mailing list