diff options
author | Eric Dong <eric.dong@intel.com> | 2014-07-28 07:52:57 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-07-28 07:52:57 +0000 |
commit | 4e1005eca7186cbe61aaae09108f6fdf29959f22 (patch) | |
tree | f2c5494dbea5e2a19b8d05bb586845e7e42ad462 /MdeModulePkg/Universal/HiiDatabaseDxe | |
parent | d4193108b51f5aae16805eaf753dfc9b6d7b15f2 (diff) | |
download | edk2-4e1005eca7186cbe61aaae09108f6fdf29959f22.zip edk2-4e1005eca7186cbe61aaae09108f6fdf29959f22.tar.gz edk2-4e1005eca7186cbe61aaae09108f6fdf29959f22.tar.bz2 |
Update code to support VS2013 tool chain.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15695 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/HiiDatabaseDxe')
-rw-r--r-- | MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c | 6 | ||||
-rw-r--r-- | MdeModulePkg/Universal/HiiDatabaseDxe/Database.c | 11 |
2 files changed, 14 insertions, 3 deletions
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c index f5e054d..4caf361 100644 --- a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c +++ b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c @@ -2329,6 +2329,8 @@ GetBlockElement ( IFR_BLOCK_DATA *NextBlockData;
UINTN Length;
+ TmpBuffer = NULL;
+
//
// Init RequestBlockArray
//
@@ -4432,6 +4434,8 @@ HiiBlockToConfig ( CHAR16 *TemString;
CHAR16 TemChar;
+ TmpBuffer = NULL;
+
if (This == NULL || Progress == NULL || Config == NULL) {
return EFI_INVALID_PARAMETER;
}
@@ -4728,6 +4732,8 @@ HiiConfigToBlock ( UINTN BufferSize;
UINTN MaxBlockSize;
+ TmpBuffer = NULL;
+
if (This == NULL || BlockSize == NULL || Progress == NULL) {
return EFI_INVALID_PARAMETER;
}
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/Database.c b/MdeModulePkg/Universal/HiiDatabaseDxe/Database.c index 01d7f02..70c0385 100644 --- a/MdeModulePkg/Universal/HiiDatabaseDxe/Database.c +++ b/MdeModulePkg/Universal/HiiDatabaseDxe/Database.c @@ -2417,9 +2417,14 @@ AddPackages ( //
// Initialize Variables
//
- StringPkgIsAdd = FALSE;
- FontPackage = NULL;
- StringPackage = NULL;
+ StringPkgIsAdd = FALSE;
+ FontPackage = NULL;
+ StringPackage = NULL;
+ GuidPackage = NULL;
+ FormPackage = NULL;
+ ImagePackage = NULL;
+ SimpleFontPackage = NULL;
+ KeyboardLayoutPackage = NULL;
//
// Process the package list header
|