Skip to content

Commit d8faea0

Browse files
committed
exclude unused variable
Signed-off-by: Slice <[email protected]>
1 parent 2593b69 commit d8faea0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

rEFIt_UEFI/Platform/Injectors.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,8 @@ SetPrivateVarProto(void)
402402
EFI_STATUS Status;
403403
//This must be independent install
404404
// optional protocols
405-
Status = gBS->InstallMultipleProtocolInterfaces (&gImageHandle,
405+
EFI_HANDLE NewHandle = NULL;
406+
Status = gBS->InstallMultipleProtocolInterfaces ( &NewHandle,///&gImageHandle,
406407
&gAppleFramebufferInfoProtocolGuid,
407408
&mScreenInfo,
408409
// &gEfiOSInfoProtocolGuid,

rEFIt_UEFI/gui/REFIT_MENU_SCREEN.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
#include "../Platform/StartupSound.h" // for audioIo
7777

7878
///0C483552-CAC3-4E72-B7DD-94F16C44C394
79-
constexpr const EFI_GUID PreGuid = { 0x0C483552, 0xCAC3, 0x4E72, { 0x87, 0xDD, 0x94, 0xF1, 0x6C, 0x44, 0xC3, 0x94 } };
79+
//constexpr const EFI_GUID PreGuid = { 0x0C483552, 0xCAC3, 0x4E72, { 0x87, 0xDD, 0x94, 0xF1, 0x6C, 0x44, 0xC3, 0x94 } };
8080
void testEfires()
8181
{
8282
// EFI_STATUS Status;

0 commit comments

Comments
 (0)