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
This commit is contained in:
Eric Dong
2014-07-28 07:52:57 +00:00
committed by ydong10
parent d4193108b5
commit 4e1005eca7
23 changed files with 76 additions and 19 deletions

View File

@@ -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;
}