Initialize mutex to nullptr.

pull/5401/head
Dan Born 9 years ago
parent f30941cd95
commit 7275f36411
  1. 2
      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; 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; CredentialsProvider* g_provider = nullptr;
void InitProviderMu() { void InitProviderMu() {

Loading…
Cancel
Save