From 1d9db4db9ad04c03673810b7745f9665f43fc62d Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Sat, 28 Feb 2009 21:41:47 +0000 Subject: [PATCH] Remove unused variable. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5028 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/network.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/network.c b/src/core/network.c index f0503f32..c2aa3de5 100644 --- a/src/core/network.c +++ b/src/core/network.c @@ -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;