forked from bblanchon/ArduinoJson
Fixed warning in GCC
This commit is contained in:
@ -9,6 +9,8 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
|
|||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS -W4)
|
add_definitions(-D_CRT_SECURE_NO_WARNINGS -W4)
|
||||||
|
else()
|
||||||
|
add_definitions(-Wall)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
@ -55,7 +55,7 @@ namespace ArduinoJson
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
JsonNode()
|
JsonNode()
|
||||||
: type(JSON_UNDEFINED), next(0)
|
: next(0), type(JSON_UNDEFINED)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user