commit | 47617c1c0b9f48f6132c06361320a46bc30e8b49 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Mon Jul 10 20:21:01 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Jul 10 20:21:01 2023 +0000 |
tree | aa28502e28f8384479fe08336e8731de585df0fd | |
parent | 51b4e481ed76f91164542681179e2dd4d737ed6a [diff] | |
parent | 7eb4bf7c37bd23ca89e5af59a5a0aab66e872ffa [diff] |
Merge "credstore: remove unused variable" into main
diff --git a/identity/CredentialData.cpp b/identity/CredentialData.cpp index 803e671..ecf2258 100644 --- a/identity/CredentialData.cpp +++ b/identity/CredentialData.cpp
@@ -527,7 +527,6 @@ return nullptr; } - int n = 0; for (AuthKeyData& data : authKeyDatas_) { if (nowMilliSeconds > data.expirationDateMillisSinceEpoch) { if (!allowUsingExpiredKeys) { @@ -540,7 +539,6 @@ candidate = &data; } } - n++; } if (candidate == nullptr) {