aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/surface
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2015-10-08 15:13:35 -0700
committerGravatar yang-g <yangg@google.com>2015-10-08 15:13:35 -0700
commit90540b4338943f388434ccfade4bb20cace4c777 (patch)
treedc7984b07fb65899e6b53cb8e6708d9aa968f149 /src/core/surface
parent2b745367ff0dbfe38f92fe09d57b227da258619e (diff)
add another return in case the macro is not defined and the compiler complains about no return statement
Diffstat (limited to 'src/core/surface')
-rw-r--r--src/core/surface/call.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/surface/call.c b/src/core/surface/call.c
index c8152b6eae..f9e6a59674 100644
--- a/src/core/surface/call.c
+++ b/src/core/surface/call.c
@@ -435,6 +435,7 @@ static grpc_cq_completion *allocate_completion(grpc_call *call) {
return &call->completions[i];
}
GPR_UNREACHABLE_CODE(return NULL);
+ return NULL;
}
static void done_completion(grpc_exec_ctx *exec_ctx, void *call,