summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/wee-hook.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/wee-hook.c b/src/core/wee-hook.c
index 10fe290b8..ac1deb2c1 100644
--- a/src/core/wee-hook.c
+++ b/src/core/wee-hook.c
@@ -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)