diff options
author | Nhi Pham <nhi@os.amperecomputing.com> | 2023-08-16 11:19:07 +0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-08-29 03:23:14 +0000 |
commit | a107fcb618934ae18f29660ecf066f3c49dd875f (patch) | |
tree | ef3ef7df5447465e1aa1cfa56097ab4e7ffe8997 /RedfishPkg | |
parent | b1e558f6369fc85ae053e0c16ffcd600880fe78d (diff) | |
download | edk2-a107fcb618934ae18f29660ecf066f3c49dd875f.tar.gz edk2-a107fcb618934ae18f29660ecf066f3c49dd875f.tar.bz2 edk2-a107fcb618934ae18f29660ecf066f3c49dd875f.zip |
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>
Diffstat (limited to 'RedfishPkg')
-rw-r--r-- | RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigImpl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigImpl.c b/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigImpl.c index e4a905aec4..47d35abc08 100644 --- a/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigImpl.c +++ b/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigImpl.c @@ -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) {
|