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

Eitan Adler eadler at FreeBSD.org
Mon Oct 22 03:00:00 UTC 2012


Author: eadler
Date: Mon Oct 22 02:59:59 2012
New Revision: 241838
URL: http://svn.freebsd.org/changeset/base/241838

Log:
  Remove unused variable. Newer versions of gcc care.
  
  Submitted by:	Sascha Wildner <saw at online.de>
  Approved by:	cperciva
  MFC after:	3 days

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

Modified: head/usr.bin/netstat/route.c
==============================================================================
--- head/usr.bin/netstat/route.c	Mon Oct 22 02:59:55 2012	(r241837)
+++ head/usr.bin/netstat/route.c	Mon Oct 22 02:59:59 2012	(r241838)
@@ -1104,10 +1104,8 @@ ipx_phost(struct sockaddr *sa)
 	struct sockaddr_ipx work;
 	static union ipx_net ipx_zeronet;
 	char *p;
-	struct ipx_addr in;
 
 	work = *sipx;
-	in = work.sipx_addr;
 
 	work.sipx_addr.x_port = 0;
 	work.sipx_addr.x_net = ipx_zeronet;


More information about the svn-src-head mailing list