aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-05-19 15:54:59 +0200
committerShauren <shauren.trinity@gmail.com>2025-05-19 15:54:59 +0200
commit17a783ce458d9700e1fa10bbda19858886e1eee2 (patch)
treefa2fe1cb928e67352f5c590f73f2b5e0fd056e0d /src/common
parenta5ca817ff6b2cdbb1879773f9b28b8dcc4a22bdf (diff)
Core/Misc: Fixed some uninitialized variables
Diffstat (limited to 'src/common')
-rw-r--r--src/common/Metric/Metric.h2
1 files changed, 1 insertions, 1 deletions
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::variant<std::array<MetricTag, 2>, std::vector<MetricTag>>> Tags;