summaryrefslogtreecommitdiffstats
path: root/sys/net/if_ef.c
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2004-07-28 06:48:36 +0000
committerkan <kan@FreeBSD.org>2004-07-28 06:48:36 +0000
commit1fc93948ca09f50cfcff8df075c14c02eb7c4e8c (patch)
treeb0333a50da2e92cbe2401ef1adadabe513c07303 /sys/net/if_ef.c
parent0a2cad60a92950789be42a3aebd40267ee782419 (diff)
downloadFreeBSD-src-1fc93948ca09f50cfcff8df075c14c02eb7c4e8c.zip
FreeBSD-src-1fc93948ca09f50cfcff8df075c14c02eb7c4e8c.tar.gz
Initialize ; variable eraly to shut up GCC warning.
Diffstat (limited to 'sys/net/if_ef.c')
-rw-r--r--sys/net/if_ef.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if_ef.c b/sys/net/if_ef.c
index 616be9f..c8ae300 100644
--- a/sys/net/if_ef.c
+++ b/sys/net/if_ef.c
@@ -325,6 +325,7 @@ ef_input(struct ifnet *ifp, struct ether_header *eh, struct mbuf *m)
int isr;
ether_type = ntohs(eh->ether_type);
+ l = NULL;
if (ether_type < ETHERMTU) {
l = mtod(m, struct llc*);
if (l->llc_dsap == 0xff && l->llc_ssap == 0xff) {
OpenPOWER on IntegriCloud