[Bug 4313] MdeModulePkg/Core/DxeIplPeim: Coverity scan flag UNUSED_VALUE issue


bugzilla-daemon@...
 

https://bugzilla.tianocore.org/show_bug.cgi?id=4313

--- Comment #1 from Veeresh Sangolli <veeresh.sangolli@...> ---
Created attachment 1307
--> https://bugzilla.tianocore.org/attachment.cgi?id=1307&action=edit
Proposed patch to resolve the Unused_Value issue pointed by Coverity for
MdeModulePkg

The return value from PeiCapsuleOnDisk->LoadCapsuleOnDisk is stored in
Status, but it is not made of any use and later Status gets overriden.

Assuming this is deliberate, remove the return value storage in Status.

By doing this change coverity doesn't report Unused_Value issue.

--
You are receiving this mail because:
You are on the CC list for the bug.