1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 21:36:37 +02:00

Remove compilation warning when gnutls lib is not installed

This commit is contained in:
Sebastien Helleu
2009-11-07 23:42:53 +01:00
parent bbcd5fbe22
commit 682a84731a
+2
View File
@@ -1443,6 +1443,8 @@ hook_connect (struct t_weechat_plugin *plugin, const char *proxy, const char *ad
#ifndef HAVE_GNUTLS
/* make C compiler happy */
(void) gnutls_sess;
(void) gnutls_cb;
(void) gnutls_dhkey_size;
#endif
if ((sock < 0) || !address || (port <= 0) || !callback)