From a6bb62e4f8e5699ca664967746af0232fc9ce663 Mon Sep 17 00:00:00 2001 From: jljusten Date: Thu, 20 May 2010 21:12:27 +0000 Subject: 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 --- MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiSdt.c | 2 ++ 1 file changed, 2 insertions(+) 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 // -- cgit v1.2.3