remove unneeded variables when NETDATA_INTERNAL_CHECKS is not defined - more
Costa Tsaousis (ktsaou) committed
Sep 27, 2016 at 01:47 UTC
0a497e9cc2723f1133332466aa0c3f201aefe15d
1 file changed
+2
src/web_client.c
+2
@@ -1927,9 +1927,11 @@ void web_client_process(struct web_client *w) {
1927
hash_graph = simple_hash(WEB_PATH_GRAPH);
1928
hash_list = simple_hash("list");
1929
hash_all_json = simple_hash("all.json");
1930
+#ifdef NETDATA_INTERNAL_CHECKS
1931
hash_exit = simple_hash("exit");
1932
hash_debug = simple_hash("debug");
1933
hash_mirror = simple_hash("mirror");
1934
+#endif
1935
}
1936
1937
int code = 500;