summaryrefslogtreecommitdiffstats
path: root/low-can-binding/utils
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-12-15 13:35:42 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2020-01-09 16:25:36 +0100
commit05e0dcd47f5cbe62de594c801f1c460622847716 (patch)
tree7c38ad9fbde74dacbbc2ec529111149395a57cf5 /low-can-binding/utils
parent334dbd3813551cb6d5e6dfb9d6625d9519caee2d (diff)
format: remove uneeded brackets.
Change-Id: I0689d62e32b9b60059adc2d4be78fa3b2581441c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/utils')
-rw-r--r--low-can-binding/utils/openxc-utils.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/low-can-binding/utils/openxc-utils.cpp b/low-can-binding/utils/openxc-utils.cpp
index e2cf8d59..5ca70b88 100644
--- a/low-can-binding/utils/openxc-utils.cpp
+++ b/low-can-binding/utils/openxc-utils.cpp
@@ -402,7 +402,6 @@ void jsonify_DynamicField(const openxc_DynamicField& field, json_object* value)
else if(field.has_bytes_value)
{
std::string s = converter_t::to_hex(field.bytes_value, field.length_array);
-
json_object_object_add(value, "value", json_object_new_string(s.c_str()));
}
}