diff --git a/source/json.c b/source/json.c index 00165911c..a6aeead5b 100644 --- a/source/json.c +++ b/source/json.c @@ -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; }