diff options
author | Andrew Thompson <thompsa@FreeBSD.org> | 2007-04-10 08:02:33 +0000 |
---|---|---|
committer | Andrew Thompson <thompsa@FreeBSD.org> | 2007-04-10 08:02:33 +0000 |
commit | 49fd43bdbcb769875036d0626205bc2d273d9004 (patch) | |
tree | 83d1d7989b757a67edd97a2ebe5c7c377ea7e592 /sys/net | |
parent | 5abc1de43021a907c77a2f659e362d0c5637f08f (diff) | |
download | src-49fd43bdbcb769875036d0626205bc2d273d9004.tar.gz src-49fd43bdbcb769875036d0626205bc2d273d9004.zip |
Fix an uninitialized variable warning.
Notes
Notes:
svn path=/head/; revision=168573
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_trunk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_trunk.c b/sys/net/if_trunk.c index 836b1bbf814d..f4ab43268867 100644 --- a/sys/net/if_trunk.c +++ b/sys/net/if_trunk.c @@ -562,7 +562,7 @@ trunk_port_output(struct ifnet *ifp, struct mbuf *m, { struct trunk_port *tp = ifp->if_trunk; struct ether_header *eh; - short type; + short type = 0; switch (dst->sa_family) { case pseudo_AF_HDRCMPLT: |