diff options
author | yang-g <yangg@google.com> | 2016-07-06 16:17:37 -0700 |
---|---|---|
committer | yang-g <yangg@google.com> | 2016-07-06 16:17:37 -0700 |
commit | 9ef0cd81f74eff88191cff541add28765b59ff46 (patch) | |
tree | 5d1738b64cb5578729dd7da4ab372992ac0ca9f0 /test/core | |
parent | 19a51a914da88924fa38ce0b6c2beca687d4e3c6 (diff) |
Initialize variable.
Diffstat (limited to 'test/core')
-rw-r--r-- | test/core/surface/server_test.c | 2 |
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) { |