summaryrefslogtreecommitdiff
path: root/EdkUnixPkg/Sec/SecMain.c
diff options
context:
space:
mode:
Diffstat (limited to 'EdkUnixPkg/Sec/SecMain.c')
-rw-r--r--EdkUnixPkg/Sec/SecMain.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/EdkUnixPkg/Sec/SecMain.c b/EdkUnixPkg/Sec/SecMain.c
index b1394a2c02..72fad08e64 100644
--- a/EdkUnixPkg/Sec/SecMain.c
+++ b/EdkUnixPkg/Sec/SecMain.c
@@ -313,10 +313,10 @@ MapMemory (
INTN prot,
INTN flags)
{
- STATIC UINTN base = 0x40000000;
- CONST UINTN align = (1 << 24);
- VOID *res;
- BOOLEAN isAligned = 0;
+ STATIC UINTN base = 0x40000000;
+ CONST UINTN align = (1 << 24);
+ VOID *res = NULL;
+ BOOLEAN isAligned = 0;
//
// Try to get an aligned block somewhere in the address space of this