From 1eb73ab57aa6d49cd82eb2b3305ec39bba591d1f Mon Sep 17 00:00:00 2001 From: qwang12 Date: Tue, 4 Jul 2006 12:43:59 +0000 Subject: Added LibPatchPcdSetPtr. Cleaup Pcd Database code generation routine. Fixed a few bugs. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@745 6f19259b-4bc3-4df7-8a09-765794883524 --- EdkModulePkg/Universal/PCD/Pei/Service.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'EdkModulePkg/Universal/PCD/Pei') diff --git a/EdkModulePkg/Universal/PCD/Pei/Service.c b/EdkModulePkg/Universal/PCD/Pei/Service.c index 011e3aa36e..a85d1d1786 100644 --- a/EdkModulePkg/Universal/PCD/Pei/Service.c +++ b/EdkModulePkg/Universal/PCD/Pei/Service.c @@ -16,7 +16,6 @@ Module Name: Service.c **/ #include "Service.h" - /** The function registers the CallBackOnSet fucntion according to TokenNumber and EFI_GUID space. @@ -496,7 +495,6 @@ GetWorker ( Status = GetHiiVariable (Guid, Name, &Data, &DataSize); if (Status == EFI_SUCCESS) { - ASSERT (DataSize >= (UINTN) (VariableHead->Offset + Size)); return (VOID *) ((UINT8 *) Data + VariableHead->Offset); } else { // -- cgit v1.2.3