QW IPv6: lose a pointless assign

We already assign a->family earlier, no need to do it again.
This commit is contained in:
Jeff Teunissen 2011-08-23 01:33:00 -04:00
parent a56f6b2e37
commit d2fa1e2479

View file

@ -185,7 +185,6 @@ SockadrToNetadr (AF_address_t *s, netadr_t *a)
}
case AF_INET6: {
memcpy (a->ip, &(s->s6.sin6_addr), sizeof (s->s6.sin6_addr));
a->family = AF_INET6;
a->port = s->s6.sin6_port;
break;
}