Small warning fix.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen <[email protected]>
---
 .../Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c 
b/ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c
index 1dfc740..58aca5d 100644
--- a/ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c
+++ b/ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.c
@@ -85,7 +85,7 @@ AllocatePagesFromList (
 {
   EFI_STATUS       Status;
   LIST_ENTRY      *Link;
-  FREE_PAGE_NODE  *Node;
+  FREE_PAGE_NODE  *Node = (FREE_PAGE_NODE *)NULL;
   FREE_PAGE_NODE  *NewNode;
   UINTN            AlignmentMask;
   EFI_PHYSICAL_ADDRESS Memory;
-- 

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to