mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-17 15:18:06 +01:00
Clean some unused globals in main.cpp
This commit is contained in:
parent
891edf8a3c
commit
07b993b8b2
@ -123,9 +123,9 @@ XBool gThemeNeedInit = true;
|
|||||||
XBool DoHibernateWake = false;
|
XBool DoHibernateWake = false;
|
||||||
|
|
||||||
|
|
||||||
EFI_HANDLE ConsoleInHandle;
|
//EFI_HANDLE ConsoleInHandle;
|
||||||
EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL* SimpleTextEx;
|
//EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL* SimpleTextEx;
|
||||||
EFI_KEY_DATA KeyData;
|
//EFI_KEY_DATA KeyData;
|
||||||
|
|
||||||
EFI_HANDLE AudioDriverHandle;
|
EFI_HANDLE AudioDriverHandle;
|
||||||
XStringW OpenRuntimeEfiName;
|
XStringW OpenRuntimeEfiName;
|
||||||
@ -2631,7 +2631,7 @@ RefitMain (IN EFI_HANDLE ImageHandle,
|
|||||||
|
|
||||||
InitBooterLog();
|
InitBooterLog();
|
||||||
|
|
||||||
ConsoleInHandle = SystemTable->ConsoleInHandle;
|
// ConsoleInHandle = SystemTable->ConsoleInHandle;
|
||||||
|
|
||||||
//#define DEBUG_ERALY_CRASH
|
//#define DEBUG_ERALY_CRASH
|
||||||
#ifdef DEBUG_ERALY_CRASH
|
#ifdef DEBUG_ERALY_CRASH
|
||||||
@ -2765,11 +2765,11 @@ RefitMain (IN EFI_HANDLE ImageHandle,
|
|||||||
DBG("UnicodeCollation Status=%s\n", efiStrError(Status));
|
DBG("UnicodeCollation Status=%s\n", efiStrError(Status));
|
||||||
}
|
}
|
||||||
|
|
||||||
Status = gBS->HandleProtocol(ConsoleInHandle, &gEfiSimpleTextInputExProtocolGuid, (void **)&SimpleTextEx);
|
// Status = gBS->HandleProtocol(ConsoleInHandle, &gEfiSimpleTextInputExProtocolGuid, (void **)&SimpleTextEx);
|
||||||
if ( EFI_ERROR(Status) ) {
|
// if ( EFI_ERROR(Status) ) {
|
||||||
SimpleTextEx = NULL;
|
// SimpleTextEx = NULL;
|
||||||
}
|
// }
|
||||||
DBG("SimpleTextEx Status=%s\n", efiStrError(Status));
|
// DBG("SimpleTextEx Status=%s\n", efiStrError(Status));
|
||||||
|
|
||||||
gConf.InitialisePlatform();
|
gConf.InitialisePlatform();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user