From 8f3ea62632fc7ef72dbc3f74f385097e41e0ce7b Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Sun, 19 Feb 2023 14:06:42 +0100 Subject: [PATCH] fix release warning --- mission/devices/devicedefinitions/imtqHelpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mission/devices/devicedefinitions/imtqHelpers.h b/mission/devices/devicedefinitions/imtqHelpers.h index f6d1c4dd..aaf3f7e8 100644 --- a/mission/devices/devicedefinitions/imtqHelpers.h +++ b/mission/devices/devicedefinitions/imtqHelpers.h @@ -1131,7 +1131,7 @@ struct ImtqRequest { uint16_t getTorqueDuration() { uint8_t* data = rawData + 2 + 6; - uint16_t value; + uint16_t value = 0; size_t dummy = 0; SerializeAdapter::deSerialize(&value, data, &dummy, SerializeIF::Endianness::MACHINE); return value;