Merge pull request #19492 from grpc/oauth2-uninitialized

Resolve uninitialized warning in oauth2_credentials
pull/19499/head
Muxi Yan 5 years ago committed by GitHub
commit a3a9480c49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/core/lib/security/credentials/oauth2/oauth2_credentials.cc

@ -227,7 +227,7 @@ static void on_oauth2_token_fetcher_http_response(void* user_data,
void grpc_oauth2_token_fetcher_credentials::on_http_response(
grpc_credentials_metadata_request* r, grpc_error* error) {
grpc_mdelem access_token_md = GRPC_MDNULL;
grpc_millis token_lifetime;
grpc_millis token_lifetime = 0;
grpc_credentials_status status =
error == GRPC_ERROR_NONE
? grpc_oauth2_token_fetcher_credentials_parse_server_response(

Loading…
Cancel
Save