<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Stanton <charlie@shtanton.xyz>2021-10-04 19:19:22 +0100
committerCharlie Stanton <charlie@shtanton.xyz>2021-10-04 19:19:22 +0100
commitca1c6cbf8e262e715805c065ea6ff165faa13ee8 (patch)
treec588ce9375bffe9e9b02ec0ddb856fb18efcac7a
parent14e929a7596baa7ee9da401975c521aa0e93c3b4 (diff)
downloadcudl-ca1c6cbf8e262e715805c065ea6ff165faa13ee8.tar
Remove debug code mistakenly left in
-rw-r--r--cudl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/cudl.c b/cudl.c
index 57a57ec..b596e92 100644
--- a/cudl.c
+++ b/cudl.c
@@ -390,7 +390,6 @@ static size_t parse_map_key(char *input, char **key) {
}
static size_t parse_map(char *input, struct cudl_value *value, char end_char) {
- printf("Parsing a map from: %s\n", input);
char *original_input;
int i;
struct cudl_map_field *fields, *newfields;
@@ -407,7 +406,6 @@ static size_t parse_map(char *input, struct cudl_value *value, char end_char) {
STRIP_WHITESPACE(input);
for (;;) {
- printf("Parsing a field from: %s\n", input);
if (*input == end_char) {
input++;
fields = realloc(fields, length * sizeof(struct cudl_map_field));
@@ -437,7 +435,6 @@ static size_t parse_map(char *input, struct cudl_value *value, char end_char) {
fields = newfields;
capacity *= 2;
}
- printf("Parsing a key from: %s\n", input);
input += parse_map_key(input, &fields[length].key);
if (cudl_err) {
for (i = 0; i < length; i++) {
@@ -460,7 +457,6 @@ static size_t parse_map(char *input, struct cudl_value *value, char end_char) {
}
input++;
STRIP_WHITESPACE(input);
- printf("Parsing a field value from: %s\n", input);
input += parse_value(input, &fields[length].value);
if (cudl_err) {
for (i = 0; i < length; i++) {