diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-11-07 23:42:53 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-11-07 23:42:53 +0100 |
commit | 682a84731a05439d522fc7122a4cc8444e85e003 (patch) | |
tree | 6403b63c695333eaf790ee5ecad3f5dedede654b /src | |
parent | bbcd5fbe2242ee053f04aba7b766f0bb37f81b31 (diff) | |
download | weechat-682a84731a05439d522fc7122a4cc8444e85e003.zip |
Remove compilation warning when gnutls lib is not installed
Diffstat (limited to 'src')
-rw-r--r-- | src/core/wee-hook.c | 2 |
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) |