@cryptotaxi247 / netdata-1 / commits / 8756eb80c

minor - remove dead code from ACLK Legacy (#12230)

Timotej S committed Feb 24, 2022 at 09:07 UTC 8756eb80c77caf411f7fae605d3f1bb03dd60b76
1 file changed -6
daemon/main.c
-6
@@ -1325,12 +1325,6 @@ int main(int argc, char **argv) {
1325 snprintfz(filename, FILENAME_MAX, "%s/.aclk_report_sent", netdata_configured_varlib_dir);
1326 if (netdata_anonymous_statistics_enabled > 0 && access(filename, F_OK)) { // -1 -> not initialized
1327 send_statistics("ACLK_DISABLED", "-", "-");
1328 -#ifdef ACLK_NO_LWS
1329 - send_statistics("BUILD_FAIL_LWS", "-", "-");
1330 -#endif
1331 -#ifdef ACLK_NO_LIBMOSQ
1332 - send_statistics("BUILD_FAIL_MOSQ", "-", "-");
1333 -#endif
1328 int fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 444);
1329 if (fd == -1)
1330 error("Cannot create file '%s'. Please fix this.", filename);