Initialize port to -1
This commit is contained in:
parent
00ab5304b7
commit
8891ef50ee
|
|
@ -396,7 +396,7 @@ static grpc_error *add_socket_to_server(grpc_tcp_server *s, SOCKET sock,
|
|||
size_t addr_len, unsigned port_index,
|
||||
grpc_tcp_listener **listener) {
|
||||
grpc_tcp_listener *sp = NULL;
|
||||
int port;
|
||||
int port = -1;
|
||||
int status;
|
||||
GUID guid = WSAID_ACCEPTEX;
|
||||
DWORD ioctl_num_bytes;
|
||||
|
|
|
|||
Loading…
Reference in New Issue