From 90540b4338943f388434ccfade4bb20cace4c777 Mon Sep 17 00:00:00 2001 From: yang-g Date: Thu, 8 Oct 2015 15:13:35 -0700 Subject: [PATCH] add another return in case the macro is not defined and the compiler complains about no return statement --- src/core/surface/call.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/surface/call.c b/src/core/surface/call.c index c8152b6eae9..f9e6a596741 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,