Skip to content
Snippets Groups Projects
Commit 3d36e626 authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

Merge pull request #3745 from jtattermusch/fix_vs2010_compilation

Fix compilation with VS2010
parents 2167500e d73ca481
No related branches found
No related tags found
No related merge requests found
......@@ -101,6 +101,7 @@ grpc_compression_algorithm grpc_compression_algorithm_for_level(
default:
/* we shouldn't be making it here */
abort();
return GRPC_COMPRESS_NONE;
}
}
......@@ -116,6 +117,7 @@ grpc_compression_level grpc_compression_level_for_algorithm(
}
}
abort();
return GRPC_COMPRESS_LEVEL_NONE;
}
void grpc_compression_options_init(grpc_compression_options *opts) {
......
......@@ -97,4 +97,5 @@ size_t grpc_byte_buffer_length(grpc_byte_buffer *bb) {
}
gpr_log(GPR_ERROR, "should never reach here");
abort();
return 0;
}
......@@ -436,6 +436,7 @@ static grpc_cq_completion *allocate_completion(grpc_call *call) {
}
gpr_log(GPR_ERROR, "should never reach here");
abort();
return NULL;
}
static void done_completion(grpc_exec_ctx *exec_ctx, void *call,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment