From 97c943db8d2800806c374fb3a5a36b66af8f427a Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Fri, 30 Jan 2015 12:03:20 -0800 Subject: [PATCH] Remove unused variable --- src/core/surface/call.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/core/surface/call.c b/src/core/surface/call.c index 733c980502c..5040aeef137 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]