diff options
author | Yuchen Zeng <zyc@google.com> | 2016-10-05 17:36:14 -0700 |
---|---|---|
committer | Yuchen Zeng <zyc@google.com> | 2016-10-05 17:36:14 -0700 |
commit | c7cf9a69a4299fffd071c0436df43a0a187a60fa (patch) | |
tree | 247eb7b10808136b513bb4e21ad5113e2c1e5ee0 /src | |
parent | c43aa51fb0a106688a46bb15c951ee0b0b768f30 (diff) |
Fix maybe-uninitialized variable
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ext/transport/cronet/transport/cronet_transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/transport/cronet/transport/cronet_transport.c b/src/core/ext/transport/cronet/transport/cronet_transport.c index 19e43673b9..984a8bb555 100644 --- a/src/core/ext/transport/cronet/transport/cronet_transport.c +++ b/src/core/ext/transport/cronet/transport/cronet_transport.c @@ -781,7 +781,7 @@ static enum e_op_result execute_stream_op(grpc_exec_ctx *exec_ctx, &cronet_callbacks); CRONET_LOG(GPR_DEBUG, "%p = cronet_bidirectional_stream_create()", s->cbs); char *url; - const char *method; + const char *method = NULL; s->header_array.headers = NULL; convert_metadata_to_cronet_headers( stream_op->send_initial_metadata->list.head, s->curr_ct.host, &url, |