diff options
author | Star Zeng <star.zeng@intel.com> | 2014-11-17 02:30:44 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@Edk2> | 2014-11-17 02:30:44 +0000 |
commit | f44200276423fdfbce4ddb4ba118b7efa8d2385a (patch) | |
tree | 80fe8bb9296036cb733da1e7c605a50a04a64797 /MdeModulePkg/Core/PiSmmCore | |
parent | 1db55d6a827cc2625a48a494e426e64f0b36ac0e (diff) | |
download | edk2-platforms-f44200276423fdfbce4ddb4ba118b7efa8d2385a.tar.xz |
MdeModulePkg DxeCore/PiSmmCore/MemoryProfileInfo: Fix EBC and VS2013 build failure.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16396 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/PiSmmCore')
-rw-r--r-- | MdeModulePkg/Core/PiSmmCore/SmramProfileRecord.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Core/PiSmmCore/SmramProfileRecord.c b/MdeModulePkg/Core/PiSmmCore/SmramProfileRecord.c index 24ab1b1de4..e119fadb67 100644 --- a/MdeModulePkg/Core/PiSmmCore/SmramProfileRecord.c +++ b/MdeModulePkg/Core/PiSmmCore/SmramProfileRecord.c @@ -824,6 +824,8 @@ SmmCoreUpdateProfileAllocate ( MEMORY_PROFILE_ALLOC_INFO_DATA *AllocInfoData;
EFI_MEMORY_TYPE ProfileMemoryIndex;
+ AllocInfoData = NULL;
+
ContextData = GetSmramProfileContext ();
if (ContextData == NULL) {
return FALSE;
|