modify code to resolve compile warning issue (#12969)
kklionz committed
May 23, 2022 at 20:32 UTC
cfe983fc06a5d4454fc77403435d39a98e3e6549
1 file changed
+1
-1
database/rrdset.c
+1
-1
@@ -1789,7 +1789,7 @@ after_first_database_work:
1789
after_second_database_work:
1790
st->last_collected_total = st->collected_total;
1791
1792
-#ifdef ENABLE_NEW_CLOUD_PROTOCOL
1792
+#if defined(ENABLE_ACLK) && defined(ENABLE_NEW_CLOUD_PROTOCOL)
1793
time_t mark = now_realtime_sec();
1794
#endif
1795
rrddim_foreach_read(rd, st) {