diff options
author | 2015-01-30 12:03:20 -0800 | |
---|---|---|
committer | 2015-01-30 12:03:20 -0800 | |
commit | 97c943db8d2800806c374fb3a5a36b66af8f427a (patch) | |
tree | 8e441c800fa1be592d43135903ef9567f5d83e82 /src/core/surface/call.c | |
parent | 149c112d00ae06d4e68579b1ef18b63fdd739752 (diff) |
Remove unused variable
Diffstat (limited to 'src/core/surface/call.c')
-rw-r--r-- | src/core/surface/call.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/surface/call.c b/src/core/surface/call.c index 733c980502..5040aeef13 100644 --- a/src/core/surface/call.c +++ b/src/core/surface/call.c @@ -1117,15 +1117,12 @@ void grpc_call_recv_metadata(grpc_call_element *elem, grpc_mdelem *md) { set_status_details(call, STATUS_FROM_WIRE, grpc_mdstr_ref(md->value)); grpc_mdelem_unref(md); } else { - char *sel; if (!call->got_initial_metadata) { - sel = call->requests[GRPC_IOREQ_RECV_INITIAL_METADATA].state == REQ_READY? "req_init" : "buf_init"; dest = call->requests[GRPC_IOREQ_RECV_INITIAL_METADATA].state == REQ_READY ? call->requests[GRPC_IOREQ_RECV_INITIAL_METADATA] .data.recv_metadata : &call->buffered_initial_metadata; } else { - sel = call->requests[GRPC_IOREQ_RECV_TRAILING_METADATA].state == REQ_READY? "req_trail" : "buf_trail"; dest = call->requests[GRPC_IOREQ_RECV_TRAILING_METADATA].state == REQ_READY ? call->requests[GRPC_IOREQ_RECV_TRAILING_METADATA] |