aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2017-07-10 14:41:34 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2017-07-10 14:41:34 -0700
commit6636b5036e657a1acf3a5e284551dbfb847aa90b (patch)
tree2007df71dbf4c37f6610608337a991a6c042df11
parent6c1418e1dd7f8fe770531bcc9ac821fbf1ae5f1b (diff)
Fix codegen_test_full
-rw-r--r--test/cpp/codegen/codegen_test_full.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/codegen/codegen_test_full.cc b/test/cpp/codegen/codegen_test_full.cc
index 2eacc99d82..98792bde04 100644
--- a/test/cpp/codegen/codegen_test_full.cc
+++ b/test/cpp/codegen/codegen_test_full.cc
@@ -27,8 +27,8 @@ class CodegenTestFull : public ::testing::Test {};
TEST_F(CodegenTestFull, Init) {
grpc::CompletionQueue cq;
- void* tag;
- bool ok;
+ void* tag = nullptr;
+ bool ok = false;
cq.AsyncNext(&tag, &ok, gpr_time_0(GPR_CLOCK_REALTIME));
ASSERT_FALSE(ok);
}