Fix uninitialized variable

pull/2347/head
Craig Tiller 10 years ago
parent 00e67f2097
commit b4c55ea072
  1. 2
      src/core/surface/server.c

@ -1005,7 +1005,7 @@ void grpc_server_add_listener(grpc_server *server, void *arg,
static grpc_call_error queue_call_request(grpc_server *server, static grpc_call_error queue_call_request(grpc_server *server,
requested_call *rc) { requested_call *rc) {
call_data *calld = NULL; call_data *calld = NULL;
requested_call **requests; requested_call **requests = NULL;
gpr_mu_lock(&server->mu_call); gpr_mu_lock(&server->mu_call);
if (server->shutdown) { if (server->shutdown) {
gpr_mu_unlock(&server->mu_call); gpr_mu_unlock(&server->mu_call);

Loading…
Cancel
Save