From 0a497e9cc2723f1133332466aa0c3f201aefe15d Mon Sep 17 00:00:00 2001 From: "Costa Tsaousis (ktsaou)" Date: Tue, 27 Sep 2016 01:47:42 +0300 Subject: [PATCH] remove unneeded variables when NETDATA_INTERNAL_CHECKS is not defined - more --- src/web_client.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/web_client.c b/src/web_client.c index 8de37053..0cf9eeb6 100644 --- a/src/web_client.c +++ b/src/web_client.c @@ -1927,9 +1927,11 @@ void web_client_process(struct web_client *w) { hash_graph = simple_hash(WEB_PATH_GRAPH); hash_list = simple_hash("list"); hash_all_json = simple_hash("all.json"); +#ifdef NETDATA_INTERNAL_CHECKS hash_exit = simple_hash("exit"); hash_debug = simple_hash("debug"); hash_mirror = simple_hash("mirror"); +#endif } int code = 500; -- 2.39.2