[Bug 4311] MdeModulePkg/Bus/I2c/I2cDxe: Coverity scan flag UNUSED_VALUE issue


bugzilla-daemon@...
 

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

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

The return value from I2cHostRequestEnable 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.

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