CryptoPkg/BaseCryptLib: Removes unused variable in CryptX509

Removes unused local variable in X509ConstructCertificateStackV

Signed-off-by: Savva Mitrofanov <savvamtr@gmail.com>
This commit is contained in:
Savva Mitrofanov 2022-12-26 17:42:52 +06:00 committed by Mikhail Krichanov
parent bf29856aee
commit 4143989061
1 changed files with 1 additions and 2 deletions

View File

@ -102,7 +102,6 @@ X509ConstructCertificateStackV (
STACK_OF (X509) *CertStack; STACK_OF (X509) *CertStack;
BOOLEAN Status; BOOLEAN Status;
UINTN Index;
// //
// Check input parameters. // Check input parameters.
@ -124,7 +123,7 @@ X509ConstructCertificateStackV (
} }
} }
for (Index = 0; ; Index++) { while (TRUE) {
// //
// If Cert is NULL, then it is the end of the list. // If Cert is NULL, then it is the end of the list.
// //