Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Jan 22, 2025
1 parent dfc4a8d commit b3f48c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion include/aws/s3/s3express_credentials_provider.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ struct aws_credentials_properties_s3express {
*/
struct aws_byte_cursor region;


struct aws_http_headers *headers;
};

Expand Down
3 changes: 1 addition & 2 deletions source/s3_request_messages.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,7 @@ const struct aws_byte_cursor g_s3_create_session_allowed_headers[] = {
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL("x-amz-server-side-encryption-bucket-key-enabled"),
};

const size_t g_s3_create_session_allowed_headers_count =
AWS_ARRAY_SIZE(g_s3_create_session_allowed_headers);
const size_t g_s3_create_session_allowed_headers_count = AWS_ARRAY_SIZE(g_s3_create_session_allowed_headers);

static const struct aws_byte_cursor s_x_amz_meta_prefix = AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL("x-amz-meta-");

Expand Down
4 changes: 2 additions & 2 deletions tests/s3_mock_server_s3express_provider_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,8 @@ static size_t s_get_index_from_s3express_cache(
AWS_CONTAINER_OF(node, struct aws_linked_hash_table_node, node);
node = aws_linked_list_next(node);
struct aws_s3express_session *session = table_node->value;
struct aws_string *hash_key =
aws_encode_s3express_hash_key_new(s_s3express_tester.allocator, original_credentials, host_value, session->headers);
struct aws_string *hash_key = aws_encode_s3express_hash_key_new(
s_s3express_tester.allocator, original_credentials, host_value, session->headers);
if (aws_string_eq(session->hash_key, hash_key)) {
aws_string_destroy(hash_key);
aws_mutex_unlock(&impl->synced_data.lock);
Expand Down

0 comments on commit b3f48c7

Please sign in to comment.