Fixed warning in GCC

This commit is contained in:
Benoit Blanchon committed 2014-10-22 20:51:29 +02:00
1 parent 7fbc3cb6a6
commit c800948342
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -9,6 +9,8 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
if(MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS -W4)
else()
add_definitions(-Wall)
endif()
add_subdirectory(src)
+1 -1
View File
@@ -55,7 +55,7 @@ namespace ArduinoJson
public:
JsonNode()
: type(JSON_UNDEFINED), next(0)
: next(0), type(JSON_UNDEFINED)
{
}