mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-12 09:24:45 +05:00
fix: various fixes
Found by PVS-Studio
This commit is contained in:
1 parent
f3ba43adbd
commit
28a5218b7c
4 files changed
+30
-30
No files matched your search
+1
-1
@@ -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