Skip to content

Commit

Permalink
Removes unnecessary SKIP_WHITESPACES.
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabis committed Apr 16, 2016
1 parent f860d3d commit 0c04a7e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions parson.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0c04a7e

Please sign in to comment.