mirror of
https://github.com/alexhopeoconnor/arduino-home-assistant.git
synced 2026-10-18 08:51:43 +10:00
fix compiler warnings
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user