aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/util
diff options
context:
space:
mode:
authorGravatar Dan Born <dborn+github@google.com>2016-02-24 15:09:16 -0800
committerGravatar Dan Born <dborn+github@google.com>2016-02-24 15:09:16 -0800
commit7275f364119db1d6af0f9487aabc05d84eb8e834 (patch)
tree43626f8f23ca1408fe2140055c926508c114f987 /test/cpp/util
parentf30941cd95be22aa7108e2b0b14d657ab8c46856 (diff)
Initialize mutex to nullptr.
Diffstat (limited to 'test/cpp/util')
-rw-r--r--test/cpp/util/test_credentials_provider.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/util/test_credentials_provider.cc b/test/cpp/util/test_credentials_provider.cc
index 3efe3b48ba..5c9816f853 100644
--- a/test/cpp/util/test_credentials_provider.cc
+++ b/test/cpp/util/test_credentials_provider.cc
@@ -91,7 +91,7 @@ class DefaultCredentialsProvider : public CredentialsProvider {
};
gpr_once g_once_init_provider_mu = GPR_ONCE_INIT;
-grpc::mutex* g_provider_mu;
+grpc::mutex* g_provider_mu = nullptr;
CredentialsProvider* g_provider = nullptr;
void InitProviderMu() {