X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/0a7de7458d150b5d4dffc935ba399be265ef0a1a..a991bd8d3e7fe02dbca0644054bab73c5b75324a:/bsd/net/ether_inet6_pr_module.c?ds=inline diff --git a/bsd/net/ether_inet6_pr_module.c b/bsd/net/ether_inet6_pr_module.c index 816995437..c332fd523 100644 --- a/bsd/net/ether_inet6_pr_module.c +++ b/bsd/net/ether_inet6_pr_module.c @@ -85,11 +85,9 @@ #include #include -#if INET6 #include #include #include -#endif /* #include "vlan.h" */ #if NVLAN > 0 @@ -163,7 +161,7 @@ ether_inet6_pre_output(ifnet_t ifp, protocol_family_t protocol_family, { #pragma unused(protocol_family) errno_t result; - struct sockaddr_dl sdl; + struct sockaddr_dl sdl = {}; struct mbuf *m = *m0; /*