diff --git a/include/gpu.hpp b/include/gpu.hpp index 6dad241..cbc8cf3 100644 --- a/include/gpu.hpp +++ b/include/gpu.hpp @@ -23,9 +23,9 @@ struct gpu_t { }; struct GpuMetricsHeader_t { - uint16_t structure_size; - uint8_t format_revision; - uint8_t content_revision; + uint16_t structure_size = 0; + uint8_t format_revision = 0; + uint8_t content_revision = 0; }; gpu_t getGpu(GpuMetricsHeader_t header, std::string hw);