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 (
|
DEBUG_CODE (
|
||||||
STATIC UINTN Index = 0;
|
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) {
|
if (HiiStatementPrivate->Description != 0) {
|
||||||
|
|
Loading…
Reference in New Issue