File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1192,7 +1192,6 @@ static void s_s3_prepare_upload_part_on_read_done(void *user_data) {
11921192static void s_s3_prepare_upload_part_finish (struct aws_s3_prepare_upload_part_job * part_prep , int error_code ) {
11931193 struct aws_s3_request * request = part_prep -> request ;
11941194 struct aws_s3_meta_request * meta_request = request -> meta_request ;
1195- struct aws_s3_client * client = meta_request -> client ;
11961195 struct aws_s3_auto_ranged_put * auto_ranged_put = meta_request -> impl ;
11971196
11981197 if (error_code != AWS_ERROR_SUCCESS ) {
@@ -1260,6 +1259,7 @@ static void s_s3_prepare_upload_part_finish(struct aws_s3_prepare_upload_part_jo
12601259 }
12611260
12621261#ifdef AWS_C_S3_ENABLE_TEST_STUBS
1262+ struct aws_s3_client * client = meta_request -> client ;
12631263 if (client -> vtable -> after_prepare_upload_part_finish_stub ) {
12641264 /* TEST ONLY, allow test to stub here. */
12651265 client -> vtable -> after_prepare_upload_part_finish_stub (request , message );
You can’t perform that action at this time.
0 commit comments