Skip to content

Commit

Permalink
remove warning on nw socket
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Nov 12, 2024
1 parent 8320127 commit 652195b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions source/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,6 @@ int aws_socket_init(struct aws_socket *socket, struct aws_allocator *alloc, cons
case AWS_SOCKET_IMPL_WINSOCK:
return aws_socket_init_winsock(socket, alloc, options);
case AWS_SOCKET_IMPL_APPLE_NETWORK_FRAMEWORK:
// Apple Network Framework is not implemented yet. We should not use it yet.
AWS_ASSERT(false && "Invalid socket implementation on platform.");
return aws_socket_init_apple_nw_socket(socket, alloc, options);
default:
AWS_ASSERT(false && "Invalid socket implementation on platform.");
Expand Down

0 comments on commit 652195b

Please sign in to comment.