From c1108041333ab8fa00907318e86f824df3e2dc60 Mon Sep 17 00:00:00 2001 From: "John W. Bruce" Date: Tue, 5 Mar 2019 11:40:23 -0800 Subject: [PATCH] Fix Netflix Warnings (This is a merge of the parts of http://go/wvgerrit/73763 that affect the Widevine Android CDM.) Netflix found some cases of benign shadowing & unused parameters through having different warning settings than we do. No harm in fixing these. Bug: 126864496 Bug: 126864495 Test: CE CDM Build Test: Android Build Change-Id: Ifb2a705a64071900b69aea17d6add46a36068ebb --- libwvdrmengine/cdm/core/src/license.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libwvdrmengine/cdm/core/src/license.cpp b/libwvdrmengine/cdm/core/src/license.cpp index 22bd78c2..d968be25 100644 --- a/libwvdrmengine/cdm/core/src/license.cpp +++ b/libwvdrmengine/cdm/core/src/license.cpp @@ -607,7 +607,7 @@ CdmResponseType CdmLicense::HandleKeyResponse( provider_client_token_ = license.provider_client_token(); if (license.has_srm_update()) { - CdmResponseType status = crypto_session_->LoadSrm(license.srm_update()); + status = crypto_session_->LoadSrm(license.srm_update()); switch (status) { case NO_ERROR: break;