Index: head/sys/netinet/ip_output.c =================================================================== --- head/sys/netinet/ip_output.c +++ head/sys/netinet/ip_output.c @@ -323,11 +323,11 @@ struct ifnet *ifp = NULL; /* keep compiler happy */ struct mbuf *m0; int hlen = sizeof (struct ip); - int mtu; + int mtu = 0; int error = 0; struct sockaddr_in *dst, sin; const struct sockaddr_in *gw; - struct in_ifaddr *ia; + struct in_ifaddr *ia = NULL; struct in_addr src; int isbroadcast; uint16_t ip_len, ip_off; @@ -485,7 +485,6 @@ * possible that a matching SPD entry exists. */ no_route_but_check_spd = 1; - mtu = 0; /* Silence GCC warning. */ goto sendit; #endif IPSTAT_INC(ips_noroute); @@ -521,7 +520,6 @@ * possible that a matching SPD entry exists. */ no_route_but_check_spd = 1; - mtu = 0; /* Silence GCC warning. */ goto sendit; #endif IPSTAT_INC(ips_noroute); Index: head/sys/netinet/udp_usrreq.c =================================================================== --- head/sys/netinet/udp_usrreq.c +++ head/sys/netinet/udp_usrreq.c @@ -1151,7 +1151,7 @@ struct epoch_tracker et; int cscov_partial = 0; int error = 0; - int ipflags; + int ipflags = 0; u_short fport, lport; u_char tos; uint8_t pr; @@ -1435,7 +1435,6 @@ ip->ip_off |= htons(IP_DF); } - ipflags = 0; if (inp->inp_socket->so_options & SO_DONTROUTE) ipflags |= IP_ROUTETOIF; if (inp->inp_socket->so_options & SO_BROADCAST)