Skip to content

Commit

Permalink
Use comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bblanchon committed Sep 27, 2017
1 parent 3b7dee0 commit 69995a7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ArduinoJson/Serialization/JsonSerializerImpl.hpp
Expand Up @@ -90,9 +90,7 @@ inline void ArduinoJson::Internals::JsonSerializer<Writer>::serialize(
return;

case JSON_NEGATIVE_INTEGER:
writer.writeRaw('-');
writer.writeInteger(variant._content.asInteger);
return;
writer.writeRaw('-'); // Falls through.

case JSON_POSITIVE_INTEGER:
writer.writeInteger(variant._content.asInteger);
Expand Down

0 comments on commit 69995a7

Please sign in to comment.