Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Jan 9, 2025
1 parent 0f22881 commit 9f4968a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions source/s3_copy_object.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,11 @@ struct aws_s3_meta_request *aws_s3_meta_request_copy_object_new(
copy_object->synced_data.content_length = UNKNOWN_CONTENT_LENGTH;
copy_object->synced_data.total_num_parts = UNKNOWN_NUM_PARTS;
copy_object->threaded_update_data.next_part_number = 1;
if(options->copy_source_uri.len != 0) {
if(aws_uri_init_parse(&copy_object->source_uri, allocator, &options->copy_source_uri)) {
if (options->copy_source_uri.len != 0) {
if (aws_uri_init_parse(&copy_object->source_uri, allocator, &options->copy_source_uri)) {
// TODO: log
goto on_error;
}

}

AWS_LOGF_DEBUG(AWS_LS_S3_META_REQUEST, "id=%p Created new CopyObject Meta Request.", (void *)&copy_object->base);
Expand Down

0 comments on commit 9f4968a

Please sign in to comment.