aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/surface/server_test.c
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2016-07-06 16:17:37 -0700
committerGravatar yang-g <yangg@google.com>2016-07-06 16:17:37 -0700
commit9ef0cd81f74eff88191cff541add28765b59ff46 (patch)
tree5d1738b64cb5578729dd7da4ab372992ac0ca9f0 /test/core/surface/server_test.c
parent19a51a914da88924fa38ce0b6c2beca687d4e3c6 (diff)
Initialize variable.
Diffstat (limited to 'test/core/surface/server_test.c')
-rw-r--r--test/core/surface/server_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/surface/server_test.c b/test/core/surface/server_test.c
index 6dd8a435aa..3fd1c2c266 100644
--- a/test/core/surface/server_test.c
+++ b/test/core/surface/server_test.c
@@ -139,7 +139,7 @@ void test_bind_server_to_addr(const char *host, bool secure) {
}
static 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) {