summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2015-03-13 08:49:09 +0000
committerlzeng14 <lzeng14@Edk2>2015-03-13 08:49:09 +0000
commitaef8cea9e4852457ef8252f20758f670b7bb86f8 (patch)
tree48304bfd53f2c405b1995b76d4687ea1c90af467
parent69f8bb528861c1c0b6107da565517c946096d432 (diff)
SecurityPkg Variable: Initialize Status in ProcessVariable().
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17048 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c b/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c
index fd2d0d604..7f9d53110 100644
--- a/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c
+++ b/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c
@@ -1357,6 +1357,7 @@ ProcessVariable (
CertBlock = NULL;
PubKey = NULL;
IsDeletion = FALSE;
+ Status = EFI_SUCCESS;
if (UserPhysicalPresent()) {
//