Initialize port to -1

This commit is contained in:
Ken Payson 2016-06-22 16:47:52 -07:00
parent 00ab5304b7
commit 8891ef50ee
1 changed files with 1 additions and 1 deletions

View File

@ -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;