From 0c04a7e678e5e95985f8a5e977aca0ecfcde7d81 Mon Sep 17 00:00:00 2001 From: Krzysztof Gabis Date: Sat, 16 Apr 2016 12:35:44 +0100 Subject: [PATCH] Removes unnecessary SKIP_WHITESPACES. --- parson.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/parson.c b/parson.c index bd803e5..82b9903 100644 --- a/parson.c +++ b/parson.c @@ -915,13 +915,11 @@ JSON_Value * json_parse_string_with_comments(const char *string) { remove_comments(string_mutable_copy, "/*", "*/"); remove_comments(string_mutable_copy, "//", "\n"); string_mutable_copy_ptr = string_mutable_copy; - SKIP_WHITESPACES(&string_mutable_copy_ptr); result = parse_value((const char**)&string_mutable_copy_ptr, 0); parson_free(string_mutable_copy); return result; } - /* JSON Object API */ JSON_Value * json_object_get_value(const JSON_Object *object, const char *name) {