Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin committed Jul 18, 2024
1 parent b4b20e3 commit 84b2233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/json.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ struct aws_json_value *aws_json_value_new_string(struct aws_allocator *allocator
}

struct aws_json_value *aws_json_value_new_string_from_c_str(struct aws_allocator *allocator, const char *string) {
(void *)allocator;
(void)allocator; /* No need for allocator. It is overriden through hooks. */
void *ret_val = cJSON_CreateString(string);
return ret_val;
}
Expand Down

0 comments on commit 84b2233

Please sign in to comment.