Skip to content
Snippets Groups Projects
Commit da25ff7e authored by Jakob Olsson's avatar Jakob Olsson
Browse files

remove some redundant print and include

parent 91cc083b
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment