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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user