aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar kpayson64 <kpayson@google.com>2016-07-12 18:59:13 -0700
committerGravatar GitHub <noreply@github.com>2016-07-12 18:59:13 -0700
commit286ff57ffd8afdbbc954dc03cb1931fe7560224e (patch)
tree735637fe95c31af16c6a1a5cb1cf47638e611fd7 /test
parent9880525a3ab142fddd12095bb7df6723b04c7612 (diff)
parent48e55620512fdcb4c7075c70b3560bc4c25f68db (diff)
Merge pull request #7248 from yang-g/server_test
Initialize variable.
Diffstat (limited to 'test')
-rw-r--r--test/core/end2end/dualstack_socket_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/end2end/dualstack_socket_test.c b/test/core/end2end/dualstack_socket_test.c
index 65a8deb663..348b9ed5f0 100644
--- a/test/core/end2end/dualstack_socket_test.c
+++ b/test/core/end2end/dualstack_socket_test.c
@@ -273,7 +273,7 @@ void test_connect(const char *server_host, const char *client_host, int port,
}
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_UNREF(error);
if (res != NULL) {