mirror of https://github.com/acidanthera/audk.git
ArmPlatformPkg/ArmVExpressPkg: Fix armcc warning causing build failure
- Variable may be used before being set Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Harry Liebel <Harry.Liebel@arm.com> Reviewed-By: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15719 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
019680b3dc
commit
f9e420d5d2
|
@ -78,6 +78,8 @@ ArmPlatformGetVirtualMemoryMap (
|
|||
SparseMemorySize);
|
||||
} else {
|
||||
HasSparseMemory = FALSE;
|
||||
SparseMemoryBase = 0x0;
|
||||
SparseMemorySize = 0x0;
|
||||
}
|
||||
|
||||
VirtualMemoryTable = (ARM_MEMORY_REGION_DESCRIPTOR*)AllocatePages(EFI_SIZE_TO_PAGES (sizeof(ARM_MEMORY_REGION_DESCRIPTOR) * MAX_VIRTUAL_MEMORY_MAP_DESCRIPTORS));
|
||||
|
|
Loading…
Reference in New Issue