]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Acpi/AcpiTableDxe/AmlNamespace.c
Update code to support VS2013 tool chain.
[mirror_edk2.git] / MdeModulePkg / Universal / Acpi / AcpiTableDxe / AmlNamespace.c
index b62256e388f24260600bfefb76ec0f154fce3d25..03b7394c4d0d432aa32d12a641fd5bd78cafed53 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   ACPI Sdt Protocol Driver\r
 \r
-  Copyright (c) 2010, Intel Corporation. All rights reserved. <BR>\r
+  Copyright (c) 2010 - 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
@@ -300,6 +300,8 @@ AmlConstructNodeListForChild (
   EFI_AML_HANDLE      *AmlChildHandle;\r
   EFI_STATUS          Status;\r
 \r
+  CurrentBuffer   = NULL;\r
+  AmlChildHandle  = NULL;\r
   AmlByteEncoding = AmlHandle->AmlByteEncoding;\r
   Buffer          = AmlHandle->Buffer;\r
   BufferSize      = AmlHandle->Size;\r