mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-27 17:27:30 +02:00
Fix GCC 7 warning
This commit is contained in:
@ -90,7 +90,8 @@ inline void ArduinoJson::Internals::JsonSerializer<Writer>::serialize(
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
case JSON_NEGATIVE_INTEGER:
|
case JSON_NEGATIVE_INTEGER:
|
||||||
writer.writeRaw('-');
|
writer.writeRaw('-'); // Falls through.
|
||||||
|
|
||||||
case JSON_POSITIVE_INTEGER:
|
case JSON_POSITIVE_INTEGER:
|
||||||
writer.writeInteger(variant._content.asInteger);
|
writer.writeInteger(variant._content.asInteger);
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user