Skip to content
Snippets Groups Projects
Commit 286ff57f authored by kpayson64's avatar kpayson64 Committed by GitHub
Browse files

Merge pull request #7248 from yang-g/server_test

Initialize variable.
parents 9880525a 48e55620
No related branches found
No related tags found
No related merge requests found
...@@ -273,7 +273,7 @@ void test_connect(const char *server_host, const char *client_host, int port, ...@@ -273,7 +273,7 @@ void test_connect(const char *server_host, const char *client_host, int port,
} }
int external_dns_works(const char *host) { int external_dns_works(const char *host) {
grpc_resolved_addresses *res; grpc_resolved_addresses *res = NULL;
grpc_error *error = grpc_blocking_resolve_address(host, "80", &res); grpc_error *error = grpc_blocking_resolve_address(host, "80", &res);
GRPC_ERROR_UNREF(error); GRPC_ERROR_UNREF(error);
if (res != NULL) { if (res != NULL) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment