diff options
author | bz <bz@FreeBSD.org> | 2009-12-28 21:14:18 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2009-12-28 21:14:18 +0000 |
commit | 7eddc3a63af2ea67365a55d3370596a01a520882 (patch) | |
tree | 83841c138cf0e64179075ab45f3f5098857e5f0a /sys/netinet | |
parent | 5bf232465b8e0def3c04c6e47745b969162463fe (diff) | |
download | FreeBSD-src-7eddc3a63af2ea67365a55d3370596a01a520882.zip FreeBSD-src-7eddc3a63af2ea67365a55d3370596a01a520882.tar.gz |
Make the compiler happy after r201125:
- + remove two unnecessary initializations in ip_output;
+ + remove one unnecessary initializations in ip_output;
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index c5703fc..d6f361d 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -113,7 +113,7 @@ ip_output(struct mbuf *m, struct mbuf *opt, struct route *ro, int flags, 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; |