aboutsummaryrefslogtreecommitdiff
path: root/redist/json_helpers.c
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2018-03-16 22:10:01 -0600
committerJustin Berger <j.david.berger@gmail.com>2018-03-16 22:10:01 -0600
commit93627f6b89d22e6e2f87df0bd4d809e168958b1d (patch)
tree930ef2b72e40dcbedd8cf77f188817c2b15dae5a /redist/json_helpers.c
parentc9cf2446c5eb18a29119c7dfe90c5b62f6b374c5 (diff)
downloadlibsurvive-93627f6b89d22e6e2f87df0bd4d809e168958b1d.tar.gz
libsurvive-93627f6b89d22e6e2f87df0bd4d809e168958b1d.tar.bz2
Removed unneeded prints; fixed memory issue in sba poser
Diffstat (limited to 'redist/json_helpers.c')
-rw-r--r--redist/json_helpers.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/redist/json_helpers.c b/redist/json_helpers.c
index 8704a93..ebacd2c 100644
--- a/redist/json_helpers.c
+++ b/redist/json_helpers.c
@@ -188,7 +188,6 @@ void json_load_file(const char* path) {
if (value_t->type == JSMN_ARRAY) {
i += json_load_array(JSON_STRING, tokens+i+2,value_t->size, tag); //look at array children
} else if (value_t->type == JSMN_OBJECT) {
- printf("Begin Object\n");
if (json_begin_object != NULL) json_begin_object(tag);
children = (int16_t)(value_t->size +1); //+1 to account for this loop where we are not yed parsing children
// i += decode_jsmn_object(JSON_STRING, tokens+i+2,value_t->size);
@@ -200,7 +199,6 @@ void json_load_file(const char* path) {
if (children>=0) children--;
if (children == 0) {
children = -1;
- printf("End Object\n");
if (json_end_object!=NULL) json_end_object();
}