From 17a783ce458d9700e1fa10bbda19858886e1eee2 Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 19 May 2025 15:54:59 +0200 Subject: Core/Misc: Fixed some uninitialized variables --- src/common/Metric/Metric.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/Metric/Metric.h b/src/common/Metric/Metric.h index 6d1bb07d8be..951ebc2937f 100644 --- a/src/common/Metric/Metric.h +++ b/src/common/Metric/Metric.h @@ -51,7 +51,7 @@ struct MetricData { std::string Category; SystemTimePoint Timestamp; - MetricDataType Type; + MetricDataType Type = METRIC_DATA_VALUE; // LogValue-specific fields Optional, std::vector>> Tags; -- cgit v1.2.3