diff --git a/src/json-editor.c b/src/json-editor.c index d104b2c9a4f2f4701052367747e92432b68ed5ea..04c03665d75c7294a430e20959f5ce42cef69936 100644 --- a/src/json-editor.c +++ b/src/json-editor.c @@ -2,7 +2,6 @@ #include <string.h> #include <stdio.h> #include <stdbool.h> -#include <pthread.h> #include <libubox/blobmsg.h> #include <libubox/blobmsg_json.h> @@ -350,10 +349,8 @@ int json_object_set_by_string_delimiter(struct json_object **src, char *fmt, cha int idx[32]; int len; - if (!*src) { - printf("lets allocate new object\n"); + if (!*src) *src = json_object_new_object(); - } ptr = outer_obj = *src; if (!fmt)