mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-19 13:32:24 +02:00
Added more warning flags for GCC (as suggested in issue #28)
This commit is contained in:
@ -71,13 +71,13 @@ void JsonContainer::removeChild(JsonNode* childToRemove)
|
||||
|
||||
size_t JsonContainer::size() const
|
||||
{
|
||||
int size = 0;
|
||||
int n = 0;
|
||||
|
||||
for (JsonNodeIterator it = beginChildren(); it != endChildren(); ++it)
|
||||
{
|
||||
size++;
|
||||
n++;
|
||||
}
|
||||
|
||||
return size;
|
||||
return n;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user