From 0d0bfdd8701782d67b0532dcb5b62c48632e170d Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Mon, 11 Mar 2019 09:51:27 +0900 Subject: [PATCH] Fix issue static analysis tool detected Change-Id: I9e4eace34b3d343fd99b055728f586c4b56400ba Signed-off-by: Jihoon Kim --- src/json.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/json.cpp b/src/json.cpp index eff6ba6..4037895 100755 --- a/src/json.cpp +++ b/src/json.cpp @@ -44,6 +44,7 @@ static std::string double_to_string(double in, int prec) smr::json::json() { + json_node = NULL; JsonObject *obj = json_object_new(); IF_FAIL_VOID_TAG(obj, _E, "Json object construction failed"); -- 2.34.1