Reviewed-by: Nickle Wang > Regards, Nickle ________________________________ From: Mike Maslenkin Sent: Thursday, January 4, 2024 7:56 PM To: devel@edk2.groups.io Cc: Mike Maslenkin ; Abner Chang ; Nickle Wang ; Igor Kulchytskyy Subject: [PATCH] RedfishClientPkg: fix uninitialized variable build error External email: Use caution opening links or attachments Variable 'Status' may be used uninitialized in this function [-Werror=maybe-uninitialized] Signed-off-by: Mike Maslenkin Cc: Abner Chang Cc: Nickle Wang Cc: Igor Kulchytskyy --- RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c b/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c index c0c3ec476f19..f2373b080c70 100644 --- a/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c +++ b/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c @@ -146,6 +146,7 @@ StartUpFeatureDriver ( } ThisList = ThisFeatureDriverList; + Status = EFI_SUCCESS; while (TRUE) { if (ThisList->Callback != NULL) { ThisList->InformationExchange = mInformationExchange; -- 2.32.0 (Apple Git-132) -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#113162): https://edk2.groups.io/g/devel/message/113162 Mute This Topic: https://groups.io/mt/103520603/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-