edk2/MdeModulePkg/Universal/HiiDatabaseDxe/Database.c:
authorjljusten <jljusten@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 19 Feb 2008 22:22:48 +0000 (22:22 +0000)
committerjljusten <jljusten@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 19 Feb 2008 22:22:48 +0000 (22:22 +0000)
  Pre-initialize variable to fix warning with gcc.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@4708 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/MdeModulePkg/Universal/HiiDatabaseDxe/Database.c

index a24c59b..3ee8b4c 100644 (file)
@@ -2320,6 +2320,11 @@ AddPackages (
   EFI_HII_PACKAGE_HEADER               PackageHeader;\r
   UINT32                               OldPackageListLen;\r
 \r
+  //\r
+  // Initialize Variables\r
+  //\r
+  FontPackage = NULL;\r
+\r
   //\r
   // Process the package list header\r
   //\r