summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/openxc-utils.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/openxc-utils.cpp b/src/openxc-utils.cpp
index c996176c..40745a06 100644
--- a/src/openxc-utils.cpp
+++ b/src/openxc-utils.cpp
@@ -125,7 +125,6 @@ bool jsonify_simple(const openxc_SimpleMessage& s_msg, json_object* json)
{
if(s_msg.has_name)
{
- json = json_object_new_object();
json_object_object_add(json, "name", json_object_new_string(s_msg.name));
jsonify_DynamicField(s_msg.value, json);
return true;