Resolve uninitialized warning

pull/19492/head
Muxi Yan 6 years ago committed by GitHub
parent 0d2d88fce5
commit 424328b8e7
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