mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/SecurityPkg VariablePei: Fix VS2013 build failure.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16406 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
ac30bca0a3
commit
eb774e2ef5
|
@ -884,6 +884,8 @@ PeiGetVariable (
|
|||
return EFI_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
VariableHeader = NULL;
|
||||
|
||||
//
|
||||
// Find existing variable
|
||||
//
|
||||
|
@ -970,6 +972,8 @@ PeiGetNextVariableName (
|
|||
return EFI_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
VariableHeader = NULL;
|
||||
|
||||
Status = FindVariable (VariableName, VariableGuid, &Variable, &StoreInfo);
|
||||
if (Variable.CurrPtr == NULL || Status != EFI_SUCCESS) {
|
||||
return Status;
|
||||
|
|
|
@ -883,6 +883,8 @@ PeiGetVariable (
|
|||
return EFI_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
VariableHeader = NULL;
|
||||
|
||||
//
|
||||
// Find existing variable
|
||||
//
|
||||
|
@ -969,6 +971,8 @@ PeiGetNextVariableName (
|
|||
return EFI_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
VariableHeader = NULL;
|
||||
|
||||
Status = FindVariable (VariableName, VariableGuid, &Variable, &StoreInfo);
|
||||
if (Variable.CurrPtr == NULL || Status != EFI_SUCCESS) {
|
||||
return Status;
|
||||
|
|
Loading…
Reference in New Issue