From aef8cea9e4852457ef8252f20758f670b7bb86f8 Mon Sep 17 00:00:00 2001 From: Star Zeng Date: Fri, 13 Mar 2015 08:49:09 +0000 Subject: SecurityPkg Variable: Initialize Status in ProcessVariable(). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Jiewen Yao git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17048 6f19259b-4bc3-4df7-8a09-765794883524 --- SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c | 1 + 1 file changed, 1 insertion(+) (limited to 'SecurityPkg') diff --git a/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c b/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c index fd2d0d6043..7f9d531100 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()) { // -- cgit v1.2.3