summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2010-05-20 21:12:27 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2010-05-20 21:12:27 +0000
commita6bb62e4f8e5699ca664967746af0232fc9ce663 (patch)
treeac52b2bc49b83f32e1111f167650fcaed75491bf
parent2653bb431a9f9636bd8dbd7b3119f02a7befb7b6 (diff)
downloadedk2-platforms-a6bb62e4f8e5699ca664967746af0232fc9ce663.tar.xz
MdeModulePkg AcpiTableDxe: Fix GCC build warning
Initialize MaxSize variable to prevent GCC warning. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10526 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiSdt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiSdt.c b/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiSdt.c
index 5aad7cca81..6146a1a309 100644
--- a/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiSdt.c
+++ b/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiSdt.c
@@ -562,6 +562,8 @@ Open (
EFI_STATUS Status;
UINTN MaxSize;
+ MaxSize = 0;
+
//
// Check for invalid input parameters
//