silence uninitialized use warning

pull/13490/head
Jan Tattermusch 7 years ago
parent 7fe236904f
commit fcb4205645
  1. 2
      src/core/lib/iomgr/sockaddr_utils.cc

@ -148,7 +148,7 @@ int grpc_sockaddr_to_string(char** out,
grpc_resolved_address addr_normalized; grpc_resolved_address addr_normalized;
char ntop_buf[INET6_ADDRSTRLEN]; char ntop_buf[INET6_ADDRSTRLEN];
const void* ip = nullptr; const void* ip = nullptr;
int port; int port = 0;
uint32_t sin6_scope_id = 0; uint32_t sin6_scope_id = 0;
int ret; int ret;

Loading…
Cancel
Save