]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c
Update code to support VS2013 tool chain.
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / SectionExtraction / CoreSectionExtraction.c
index ad3f58fa21a5beaa17ad29401859685bd6030b8b..e5e3926e3a0b3e11221f1e4b84f22d0da96610ea 100644 (file)
@@ -27,7 +27,7 @@
   3) A support protocol is not found, and the data is not available to be read\r
      without it.  This results in EFI_PROTOCOL_ERROR.\r
 \r
-Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -513,6 +513,8 @@ VerifyGuidedSectionGuid (
   VOID                  *Interface;\r
   EFI_STATUS            Status;\r
 \r
+  Interface = NULL;\r
+\r
   //\r
   // Check if there is the Guided Section GUID configuration table recorded the GUID itself.\r
   //\r
@@ -1229,6 +1231,7 @@ GetSection (
   EFI_COMMON_SECTION_HEADER                             *Section;\r
 \r
 \r
+  ChildStreamNode = NULL;\r
   OldTpl = CoreRaiseTpl (TPL_NOTIFY);\r
   Instance = SectionInstance + 1;\r
 \r