summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2019-03-12 22:26:28 +0100
committerSébastien Helleu <flashcode@flashtux.org>2019-03-12 22:26:28 +0100
commit5c2c19c0cd0b34072fc82aa0d5f9868db093c27f (patch)
treef845760f2cd9add61296fa1e828f6586b8124872 /src/plugins
parent99e48d7fa3e5a68aa884ab51e7436e876997fdcb (diff)
downloadweechat-5c2c19c0cd0b34072fc82aa0d5f9868db093c27f.zip
irc: fix compilation warning when gnutls is not found
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/irc/irc-server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c
index 40bb47b7b..b82df75c4 100644
--- a/src/plugins/irc/irc-server.c
+++ b/src/plugins/irc/irc-server.c
@@ -484,6 +484,9 @@ irc_server_eval_fingerprint (struct t_irc_server *server)
}
return fingerprint_eval;
#else
+ /* make C compiler happy */
+ (void) server;
+
return strdup ("");
#endif /* HAVE_GNUTLS */
}