Skip to content

Commit 0b29b02

Browse files
committed
More requested clean up
Signed-off-by: Aubrey (Sanae) <aubrey@hall.ly>
1 parent f183415 commit 0b29b02

File tree

5 files changed

+2
-47
lines changed

5 files changed

+2
-47
lines changed

extras/tests/JsonSerializer/JsonVariant.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// MIT License
44

55
#include <ArduinoJson.h>
6-
#include <array>
76
#include <catch.hpp>
87
#include <limits>
98

extras/tests/MixedConfiguration/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ add_executable(MixedConfigurationTests
2222
use_double_1.cpp
2323
use_long_long_0.cpp
2424
use_long_long_1.cpp
25-
use_string_length_size_4.cpp
25+
string_length_size_4.cpp
2626
)
2727

2828
set_target_properties(MixedConfigurationTests PROPERTIES UNITY_BUILD OFF)

extras/tests/MixedConfiguration/use_string_length_size_4.cpp

Lines changed: 0 additions & 42 deletions
This file was deleted.

src/ArduinoJson/Json/JsonSerializer.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ class JsonSerializer : public VariantDataVisitor<size_t> {
8282
}
8383

8484
size_t visit(MsgPackBinary) {
85-
formatter_.writeRaw("null");
86-
return bytesWritten();
85+
return visit(nullptr);
8786
}
8887

8988
size_t visit(JsonInteger value) {

src/ArduinoJson/Memory/StringNode.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include <ArduinoJson/Polyfills/limits.hpp>
1212

1313
#include <stddef.h> // offsetof
14-
#include <stdio.h>
1514

1615
ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE
1716

0 commit comments

Comments
 (0)