RedfishPkg/RedfishPlatformConfigDxe: Fix unused variable

This fixes an unused variable 'Index' error in release build.

Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
Reviewed-by: Abner Chang <abner.chang@amd.com>
This commit is contained in:
Nhi Pham 2023-08-16 11:19:07 +07:00 committed by mergify[bot]
parent b1e558f636
commit a107fcb618
1 changed files with 2 additions and 1 deletions

View File

@ -671,7 +671,8 @@ GetStatementPrivateByConfigureLang (
DEBUG_CODE (
STATIC UINTN Index = 0;
DEBUG ((REDFISH_PLATFORM_CONFIG_DEBUG, "%a: [%d] search %s in QID: 0x%x form: 0x%x formset: %g\n", __func__, ++Index, ConfigureLang, HiiStatementPrivate->QuestionId, HiiFormPrivate->Id, &HiiFormsetPrivate->Guid));
Index++;
DEBUG ((REDFISH_PLATFORM_CONFIG_DEBUG, "%a: [%d] search %s in QID: 0x%x form: 0x%x formset: %g\n", __func__, Index, ConfigureLang, HiiStatementPrivate->QuestionId, HiiFormPrivate->Id, &HiiFormsetPrivate->Guid));
);
if (HiiStatementPrivate->Description != 0) {