summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@irssi.org>2009-02-28 23:09:33 +0000
committerjilles <jilles@dbcabf3a-b0e7-0310-adc4-f8d773084564>2009-02-28 23:09:33 +0000
commit0764675409e9aeb665b2f35a29dcba7cd81a3654 (patch)
tree305a8a9169a46c6eb8ac1ac0fc9f5820e1502fb3 /src
parent5f05c7ca7a6e45fb2f2cb82f39234d84bdc8b10e (diff)
downloadirssi-0764675409e9aeb665b2f35a29dcba7cd81a3654.zip
Remove unused variable.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5031 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/core/network-openssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/network-openssl.c b/src/core/network-openssl.c
index 16375439..f78a4978 100644
--- a/src/core/network-openssl.c
+++ b/src/core/network-openssl.c
@@ -245,7 +245,7 @@ static GIOChannel *irssi_ssl_get_iochannel(GIOChannel *handle, const char *mycer
{
GIOSSLChannel *chan;
GIOChannel *gchan;
- int err, fd;
+ int fd;
SSL *ssl;
SSL_CTX *ctx = NULL;
@@ -308,7 +308,7 @@ static GIOChannel *irssi_ssl_get_iochannel(GIOChannel *handle, const char *mycer
return NULL;
}
- if(!(err = SSL_set_fd(ssl, fd)))
+ if(!SSL_set_fd(ssl, fd))
{
g_warning("Failed to associate socket to SSL stream");
SSL_free(ssl);