From 6636b5036e657a1acf3a5e284551dbfb847aa90b Mon Sep 17 00:00:00 2001 From: David Garcia Quintas Date: Mon, 10 Jul 2017 14:41:34 -0700 Subject: [PATCH] Fix codegen_test_full --- test/cpp/codegen/codegen_test_full.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cpp/codegen/codegen_test_full.cc b/test/cpp/codegen/codegen_test_full.cc index 2eacc99d823..98792bde047 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); }