Fix an uninitialized variable warning.

This commit is contained in:
thompsa 2007-04-10 08:02:33 +00:00
parent 0a7f1377cf
commit bcc8cf69fe

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: