mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-07 19:45:07 +02:00
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:
parent
b1e558f636
commit
a107fcb618
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user