add another return in case the macro is not defined and the compiler complains about no return statement

pull/3701/head
yang-g 9 years ago
parent 2b745367ff
commit 90540b4338
  1. 1
      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,

Loading…
Cancel
Save