Skip to content

Commit

Permalink
build warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin committed Jul 18, 2024
1 parent b653305 commit b4b20e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/json.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +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 *ret_val = cJSON_CreateString(string);
return ret_val;
}
Expand Down

0 comments on commit b4b20e3

Please sign in to comment.