summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/DxePlatDriOverLib
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-05 02:20:16 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-05 02:20:16 +0000
commit779808545d68d77a5280a1c323066594808c2d5f (patch)
tree9368d784d75295bd1156901f046c14b6a422d4ac /MdeModulePkg/Library/DxePlatDriOverLib
parent54cdf471a085f9249a6fbfb20d4828d6cd2ce1cb (diff)
downloadedk2-platforms-779808545d68d77a5280a1c323066594808c2d5f.tar.xz
Fix VS2005 build error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7181 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/DxePlatDriOverLib')
-rw-r--r--MdeModulePkg/Library/DxePlatDriOverLib/PlatDriOverLib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Library/DxePlatDriOverLib/PlatDriOverLib.c b/MdeModulePkg/Library/DxePlatDriOverLib/PlatDriOverLib.c
index 1859f026c8..81570a2111 100644
--- a/MdeModulePkg/Library/DxePlatDriOverLib/PlatDriOverLib.c
+++ b/MdeModulePkg/Library/DxePlatDriOverLib/PlatDriOverLib.c
@@ -468,6 +468,7 @@ SaveOverridesMapping (
// ItemIndex now points to the next PLATFORM_OVERRIDE_ITEM which is not covered by VariableNeededSize
//
VariableBuffer = AllocateZeroPool (VariableNeededSize);
+ ASSERT (VariableBuffer != NULL);
ASSERT ((UINTN) VariableBuffer % sizeof(UINTN) == 0);
//