]> arthur.barton.de Git - netdata.git/commitdiff
remove unneeded variables when NETDATA_INTERNAL_CHECKS is not defined - more
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Mon, 26 Sep 2016 22:47:42 +0000 (01:47 +0300)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Mon, 26 Sep 2016 22:47:42 +0000 (01:47 +0300)
src/web_client.c

index 8de370531ec6612bf00092029150fee3f59eff30..0cf9eeb6a662daff5156e606aa5ca41730c7875c 100644 (file)
@@ -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;