svn commit: r201141 - head/sys/netinet

Bjoern A. Zeeb bz at FreeBSD.org
Mon Dec 28 21:14:20 UTC 2009


Author: bz
Date: Mon Dec 28 21:14:18 2009
New Revision: 201141
URL: http://svn.freebsd.org/changeset/base/201141

Log:
  Make the compiler happy after r201125:
  - + remove two unnecessary initializations in ip_output;
  + + remove one unnecessary initializations in ip_output;

Modified:
  head/sys/netinet/ip_output.c

Modified: head/sys/netinet/ip_output.c
==============================================================================
--- head/sys/netinet/ip_output.c	Mon Dec 28 20:54:34 2009	(r201140)
+++ head/sys/netinet/ip_output.c	Mon Dec 28 21:14:18 2009	(r201141)
@@ -113,7 +113,7 @@ ip_output(struct mbuf *m, struct mbuf *o
     struct ip_moptions *imo, struct inpcb *inp)
 {
 	struct ip *ip;
-	struct ifnet *ifp;
+	struct ifnet *ifp = NULL;	/* keep compiler happy */
 	struct mbuf *m0;
 	int hlen = sizeof (struct ip);
 	int mtu;


More information about the svn-src-all mailing list