fix compiler warnings

This commit is contained in:
Dawid Chyrzynski
2024-02-10 00:40:42 +01:00
parent 105e96197b
commit 2a00dcd65f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ bool HASerializerArray::add(ItemType item)
const char* HASerializerArray::getItem(const uint8_t index) const
{
if (index < 0 || index >= _itemsNb) {
if (index >= _itemsNb) {
return nullptr;
}