aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/compression
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-10-08 10:21:01 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-10-08 10:24:33 -0700
commitd73ca4817a116b07dfefe322c715757a7616cd70 (patch)
tree3a686c583fc8bde9bf8d6419cfb236e1591ab843 /src/core/compression
parent37233e63b75a1f02993ce0986886a621c191654c (diff)
fix compilation with VS2010
Diffstat (limited to 'src/core/compression')
-rw-r--r--src/core/compression/algorithm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/compression/algorithm.c b/src/core/compression/algorithm.c
index d55e499f5e..fd95a3c891 100644
--- a/src/core/compression/algorithm.c
+++ b/src/core/compression/algorithm.c
@@ -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) {