Date
1 - 1 of 1
[Bug 4317] MdeModulePkg/Library/SmmLockBoxLib: Coverity scan flags DEADCODE issue
bugzilla-daemon@...
https://bugzilla.tianocore.org/show_bug.cgi?id=4317
--- Comment #1 from Veeresh Sangolli <veeresh.sangolli@...> ---
Created attachment 1308
--> https://bugzilla.tianocore.org/attachment.cgi?id=1308&action=edit
Proposed patch to resolve the Deadcode issue pointed by Coverity for
MdeModulePkg
The function RestoreLockBox already has a NULL value check on Guid at
the beginning of the function. So, at the else point Guid can't be 0.
Hence,remove the redundant else block code.
By removing the redundant code, coverity doesn't report Deadcode issue.
--
You are receiving this mail because:
You are on the CC list for the bug.
--- Comment #1 from Veeresh Sangolli <veeresh.sangolli@...> ---
Created attachment 1308
--> https://bugzilla.tianocore.org/attachment.cgi?id=1308&action=edit
Proposed patch to resolve the Deadcode issue pointed by Coverity for
MdeModulePkg
The function RestoreLockBox already has a NULL value check on Guid at
the beginning of the function. So, at the else point Guid can't be 0.
Hence,remove the redundant else block code.
By removing the redundant code, coverity doesn't report Deadcode issue.
--
You are receiving this mail because:
You are on the CC list for the bug.