diff options
author | Yuchen Zeng <y-zeng@users.noreply.github.com> | 2016-10-06 11:20:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-06 11:20:02 -0700 |
commit | 3750af12d9106dce6af1d1cb064f58e9de748b08 (patch) | |
tree | 138955b13b276e58692f54b81fcd7861b6c4697f | |
parent | 3a9f49d409d5fa552ea6053eedfa0a8e27d160e0 (diff) | |
parent | 8dc4193e6ac17e242929ca737139a160ec4b29fa (diff) |
Merge pull request #8292 from y-zeng/fix_uninit
Fix maybe-uninitialized variable
-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 f7f57ac825..00a5be419e 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 = NULL; - const char *method = NULL; + const char *method = "POST"; s->header_array.headers = NULL; convert_metadata_to_cronet_headers( stream_op->send_initial_metadata->list.head, s->curr_ct.host, &url, |