summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorStelios Fragkakis <52996999+stelfrag@users.noreply.github.com>2023-08-21 21:59:17 +0300
committerGitHub <noreply@github.com>2023-08-21 21:59:17 +0300
commite66072e0353ad9cd75a1298dd1d501485bbb1cd5 (patch)
tree7f0ded3dc49c6232a6ae13b38562ddfc9bb48656 /web
parentd547b470add617ff8b8c91ed60b7491c981d7279 (diff)
Fix compilation warnings (#15858)
* Fix compilation warnings * Fix adding compilation warnings when NETDATA_INTERNAL_CHECKS or NETDATA_DEV_MODE is specified
Diffstat (limited to 'web')
-rw-r--r--web/api/web_api_v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api/web_api_v2.c b/web/api/web_api_v2.c
index dcab6a1edc..73cba6fb47 100644
--- a/web/api/web_api_v2.c
+++ b/web/api/web_api_v2.c
@@ -663,7 +663,7 @@ static int web_client_api_request_v2_webrtc(RRDHOST *host __maybe_unused, struct
}
#define CONFIG_API_V2_URL "/api/v2/config"
-static int web_client_api_request_v2_config(RRDHOST *host __maybe_unused, struct web_client *w, char *query) {
+static int web_client_api_request_v2_config(RRDHOST *host __maybe_unused, struct web_client *w, char *query __maybe_unused) {
char *url = strdupz(buffer_tostring(w->url_as_received));
char *url_full = url;