From: Star Zeng Date: Fri, 13 Mar 2015 08:49:09 +0000 (+0000) Subject: SecurityPkg Variable: Initialize Status in ProcessVariable(). X-Git-Tag: edk2-stable201903~10151 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=aef8cea9e4852457ef8252f20758f670b7bb86f8 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 --- 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()) { //