Skip to content

Commit

Permalink
fix unused error
Browse files Browse the repository at this point in the history
  • Loading branch information
sbSteveK committed Oct 4, 2024
1 parent cde0b76 commit 4363d64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions source/posix/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ static int s_socket_connect(
aws_socket_on_connection_result_fn *on_connection_result,
aws_socket_retrieve_tls_options_fn *retrieve_tls_options,
void *user_data) {
(void)retrieve_tls_options;
AWS_ASSERT(event_loop);
AWS_ASSERT(!socket->event_loop);

Expand Down
1 change: 1 addition & 0 deletions source/windows/iocp/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ int aws_socket_connect(
aws_socket_on_connection_result_fn *on_connection_result,
aws_socket_retrieve_tls_options_fn *retrieve_tls_options,
void *user_data) {
(void)retrieve_tls_options;
struct iocp_socket *socket_impl = socket->impl;
if (socket->options.type != AWS_SOCKET_DGRAM) {
AWS_ASSERT(on_connection_result);
Expand Down

0 comments on commit 4363d64

Please sign in to comment.