Skip to content

Commit

Permalink
SecurityPkg: Fix debug build
Browse files Browse the repository at this point in the history
For some reason only DEBUG builds fail because of the unused variable.

Signed-off-by: Tim Crawford <[email protected]>
  • Loading branch information
crawfxrd committed Jun 22, 2023
1 parent c466cc2 commit 42a443d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4324,7 +4324,7 @@ SecureBootCallback (
UINT8 *SecureBootEnable;
UINT8 *Pk;
UINT8 *SecureBootMode;
UINT8 *SetupMode;
//UINT8 *SetupMode;
CHAR16 PromptString[100];
EFI_DEVICE_PATH_PROTOCOL *File;
UINTN NameLength;
Expand All @@ -4336,7 +4336,7 @@ SecureBootCallback (
Status = EFI_SUCCESS;
SecureBootEnable = NULL;
SecureBootMode = NULL;
SetupMode = NULL;
//SetupMode = NULL;
File = NULL;
EnrollKeyErrorCode = None_Error;

Expand Down

0 comments on commit 42a443d

Please sign in to comment.