network.c:

- removed almost unused variable without further use
This commit is contained in:
Coren[m] 2013-09-11 22:21:31 +02:00
parent ef86109460
commit 5e1523e61d

View File

@ -267,13 +267,11 @@ Networking_Core *new_networking(IP ip, uint16_t port)
if (temp == NULL)
return NULL;
sa_family_t family = 0;
#ifdef TOX_ENABLE_IPV6
family = ip.family;
temp->family = ip.family;
#else
family = AF_INET;
temp->family = AF_INET;
#endif
temp->family = family;
temp->port = 0;
/* Initialize our socket. */