Skip to content

Commit de5cfc4

Browse files
author
Krish
committed
voiding unused request and lint
1 parent 21a3a89 commit de5cfc4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

include/aws/s3/s3_client.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ typedef void(aws_s3_client_shutdown_complete_callback_fn)(void *user_data);
262262
* https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html#API_PutObject_RequestSyntax
263263
* If an error occurs, call aws_raise_error(E) with a proper error code and return NULL.
264264
*/
265-
typedef struct aws_string *(aws_s3_meta_request_full_object_checksum_fn)(struct aws_s3_meta_request * meta_request,
265+
typedef struct aws_string *(aws_s3_meta_request_full_object_checksum_fn)(struct aws_s3_meta_request *meta_request,
266266
void *user_data);
267267

268268
enum aws_s3_meta_request_tls_mode {
@@ -429,7 +429,7 @@ typedef int(aws_s3_meta_request_upload_review_fn)(
429429
* @return The aws_s3express_credentials_provider.
430430
*/
431431
typedef struct aws_s3express_credentials_provider *(
432-
aws_s3express_provider_factory_fn)(struct aws_allocator * allocator,
432+
aws_s3express_provider_factory_fn)(struct aws_allocator *allocator,
433433
struct aws_s3_client *client,
434434
aws_simple_completion_callback on_provider_shutdown_callback,
435435
void *shutdown_user_data,

tests/s3_mock_server_tests.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ TEST_CASE(multipart_upload_with_n_retries_mock_server) {
434434
}
435435

436436
static void s_upload_part_force_fail(struct aws_s3_request *request, struct aws_http_message *message) {
437+
(void)request;
437438
if (message == NULL) {
438439
return;
439440
}

0 commit comments

Comments
 (0)