forked from bblanchon/ArduinoJson
Fix GCC 7 warning
This commit is contained in:
1 parent
353bbd0e8c
commit
a6091136b0
1 file changed
+2
-1
@@ -90,7 +90,8 @@ inline void ArduinoJson::Internals::JsonSerializer<Writer>::serialize(
|
||||
return;
|
||||
|
||||
case JSON_NEGATIVE_INTEGER:
|
||||
writer.writeRaw('-');
|
||||
writer.writeRaw('-'); // Falls through.
|
||||
|
||||
case JSON_POSITIVE_INTEGER:
|
||||
writer.writeInteger(variant._content.asInteger);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user