1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00

Fix an uninitialized variable warning.

This commit is contained in:
Andrew Thompson 2007-04-10 08:02:33 +00:00
parent 5abc1de430
commit 49fd43bdbc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168573

View File

@ -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: