CryptoPkg: Fix assigned by unused var

This commit is contained in:
Mike Beaton 2023-10-31 13:03:51 +00:00
parent ba7c32257d
commit 7d034a0e0e

View File

@ -102,7 +102,6 @@ X509ConstructCertificateStackV (
STACK_OF (X509) *CertStack;
BOOLEAN Status;
UINTN Index;
//
// 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.
//