diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2009-02-28 21:41:47 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2009-02-28 21:41:47 +0000 |
commit | 1d9db4db9ad04c03673810b7745f9665f43fc62d (patch) | |
tree | 66b1a17afc0407586e617fb3e2286807c4c5df9d /src | |
parent | 4f3b7696a0f0964310cd095e7a80ea1d27b5a5d9 (diff) | |
download | irssi-1d9db4db9ad04c03673810b7745f9665f43fc62d.zip |
Remove unused variable.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5028 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/core/network.c | 2 |
1 files changed, 0 insertions, 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; |