From 340c5bc2f46129532be41292b693a18c852ce58e Mon Sep 17 00:00:00 2001 From: Savva Mitrofanov Date: Wed, 24 Aug 2022 21:39:00 +0600 Subject: [PATCH] MdePkg/BasePcdLibNull: Remove ASSERT from LibPcdGetSize, LibPcdGetExSize GetSize routines should return zero size when checking Token existence Signed-off-by: Savva Mitrofanov Reviewed-by: Vitaly Cheptsov --- MdePkg/Library/BasePcdLibNull/PcdLib.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/MdePkg/Library/BasePcdLibNull/PcdLib.c b/MdePkg/Library/BasePcdLibNull/PcdLib.c index a214371c3f..04170a73a3 100644 --- a/MdePkg/Library/BasePcdLibNull/PcdLib.c +++ b/MdePkg/Library/BasePcdLibNull/PcdLib.c @@ -174,8 +174,6 @@ LibPcdGetSize ( IN UINTN TokenNumber ) { - ASSERT (FALSE); - return 0; } @@ -353,8 +351,6 @@ LibPcdGetExSize ( IN UINTN TokenNumber ) { - ASSERT (FALSE); - return 0; }