credstore: remove unused variable
Test: mmm system/security Change-Id: I50f80bd823c9039eaa05cc724077f297af550462
This commit is contained in:
parent
6055d11ab9
commit
7eb4bf7c37
1 changed files with 0 additions and 2 deletions
|
@ -527,7 +527,6 @@ AuthKeyData* CredentialData::findAuthKey_(bool allowUsingExhaustedKeys,
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
int n = 0;
|
||||
for (AuthKeyData& data : authKeyDatas_) {
|
||||
if (nowMilliSeconds > data.expirationDateMillisSinceEpoch) {
|
||||
if (!allowUsingExpiredKeys) {
|
||||
|
@ -540,7 +539,6 @@ AuthKeyData* CredentialData::findAuthKey_(bool allowUsingExhaustedKeys,
|
|||
candidate = &data;
|
||||
}
|
||||
}
|
||||
n++;
|
||||
}
|
||||
|
||||
if (candidate == nullptr) {
|
||||
|
|
Loading…
Reference in a new issue