aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/surface
diff options
context:
space:
mode:
authorGravatar Jorge Canizales <jcanizales@google.com>2015-12-02 13:04:15 -0800
committerGravatar Jorge Canizales <jcanizales@google.com>2015-12-02 13:04:15 -0800
commit9fac2afdafe1355b02a355b06955b21d2a2cd004 (patch)
tree68152f9c18d7b5315c22b67893b6f6c6ac8b7601 /src/core/surface
parentd26bae9e9e7b751419a9861a9f129fd4b174eba1 (diff)
parent49209763a1e5787ca1272c0d3ccd395f7fdc03b6 (diff)
Merge pull request #4249 from yang-g/unreachable
Remove unreachable macro from reachable code.
Diffstat (limited to 'src/core/surface')
-rw-r--r--src/core/surface/call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/surface/call.c b/src/core/surface/call.c
index 49a0c7e04e..4affafa585 100644
--- a/src/core/surface/call.c
+++ b/src/core/surface/call.c
@@ -912,7 +912,7 @@ static batch_control *allocate_batch_control(grpc_call *call) {
return &call->active_batches[i];
}
}
- GPR_UNREACHABLE_CODE(return NULL);
+ return NULL;
}
static void finish_batch_completion(grpc_exec_ctx *exec_ctx, void *user_data,