summaryrefslogtreecommitdiffstats
path: root/streaming/sender.c
diff options
context:
space:
mode:
authorEmmanuel Vasilakis <mrzammler@mm.st>2023-08-31 11:26:06 +0300
committerGitHub <noreply@github.com>2023-08-31 11:26:06 +0300
commitb798d1b2f70a8e78cb437c5a5cc6ab9f9229e6e4 (patch)
treec8343640859717635fb69f2cc31eb4294e32f296 /streaming/sender.c
parente9989c51937c86e48e7ace9ae6e3c7882bc038e5 (diff)
Fix build with --disable-https (#15395)
rebased
Diffstat (limited to 'streaming/sender.c')
-rw-r--r--streaming/sender.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/streaming/sender.c b/streaming/sender.c
index e703f1e5d8..40a4d7c68a 100644
--- a/streaming/sender.c
+++ b/streaming/sender.c
@@ -515,7 +515,7 @@ static inline bool rrdpush_sender_validate_response(RRDHOST *host, struct sender
return false;
}
-static bool rrdpush_sender_connect_ssl(struct sender_state *s) {
+static bool rrdpush_sender_connect_ssl(struct sender_state *s __maybe_unused) {
#ifdef ENABLE_HTTPS
RRDHOST *host = s->host;
bool ssl_required = host->destination && host->destination->ssl;
@@ -1181,7 +1181,7 @@ static void rrdpush_sender_thread_cleanup_callback(void *ptr) {
freez(s);
}
-void rrdpush_initialize_ssl_ctx(RRDHOST *host) {
+void rrdpush_initialize_ssl_ctx(RRDHOST *host __maybe_unused) {
#ifdef ENABLE_HTTPS
static SPINLOCK sp = NETDATA_SPINLOCK_INITIALIZER;
spinlock_lock(&sp);