mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-13 03:34:28 +05:00
fix: various fixes
Found by PVS-Studio
This commit is contained in:
@@ -334,7 +334,7 @@ public:
|
||||
|
||||
uint8_t valueId = (uint8_t) valueType;
|
||||
if (!isValidValueId(valueId)) {
|
||||
return false;
|
||||
return 0;
|
||||
}
|
||||
|
||||
float value = 0.0f;
|
||||
|
||||
Reference in New Issue
Block a user