Skip to content

Commit

Permalink
MdePkg/BasePcdLibNull: Remove ASSERT from LibPcdGetSize, LibPcdGetExSize
Browse files Browse the repository at this point in the history
GetSize routines should return zero size when checking Token existence

Signed-off-by: Savva Mitrofanov <[email protected]>
Reviewed-by: Vitaly Cheptsov <[email protected]>
  • Loading branch information
savvamitrofanov committed Dec 7, 2022
1 parent 03362e6 commit 340c5bc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions MdePkg/Library/BasePcdLibNull/PcdLib.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@ LibPcdGetSize (
IN UINTN TokenNumber
)
{
ASSERT (FALSE);

return 0;
}

Expand Down Expand Up @@ -353,8 +351,6 @@ LibPcdGetExSize (
IN UINTN TokenNumber
)
{
ASSERT (FALSE);

return 0;
}

Expand Down

0 comments on commit 340c5bc

Please sign in to comment.