mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
Remove unused variable.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5028 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
4f3b7696a0
commit
1d9db4db9a
@ -127,11 +127,9 @@ static int sin_get_port(union sockaddr_union *so)
|
||||
GIOChannel *net_connect(const char *addr, int port, IPADDR *my_ip)
|
||||
{
|
||||
IPADDR ip4, ip6, *ip;
|
||||
int family;
|
||||
|
||||
g_return_val_if_fail(addr != NULL, NULL);
|
||||
|
||||
family = my_ip == NULL ? 0 : my_ip->family;
|
||||
if (net_gethostbyname(addr, &ip4, &ip6) == -1)
|
||||
return NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user