aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-06-09 13:57:40 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-06-09 13:57:40 -0700
commitc3b0ac1b85e9395482a458d5811c4ae321de6756 (patch)
treea573e51622f4b083b7b521123a009676dec88bcf
parentba947488012b89a13254e49a2c848d3ef6e3e1d0 (diff)
Fix compile error on gcc
-rw-r--r--src/core/lib/channel/channel_args.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/channel/channel_args.c b/src/core/lib/channel/channel_args.c
index 7c701d5ec2..79ceeb66b3 100644
--- a/src/core/lib/channel/channel_args.c
+++ b/src/core/lib/channel/channel_args.c
@@ -213,7 +213,7 @@ static int find_compression_algorithm_states_bitset(const grpc_channel_args *a,
grpc_channel_args *grpc_channel_args_compression_algorithm_set_state(
grpc_channel_args **a, grpc_compression_algorithm algorithm, int state) {
- int *states_arg;
+ int *states_arg = NULL;
grpc_channel_args *result = *a;
const int states_arg_found =
find_compression_algorithm_states_bitset(*a, &states_arg);