mirror of https://github.com/acidanthera/audk.git
Fix a bug that causes GCC build failure.
Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ruiyu Ni<ruiyu.ni@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13870 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
39b36547a2
commit
f52be04a2f
|
@ -548,7 +548,7 @@ InitializeHotkeyService (
|
|||
KeyOptionNumbers = HotkeyGetOptionNumbers (&KeyOptionCount);
|
||||
for (Index = 0; Index < KeyOptionCount; Index ++) {
|
||||
UnicodeSPrint (KeyOptionName, sizeof (KeyOptionName), L"Key%04x", KeyOptionNumbers[Index]);
|
||||
GetEfiGlobalVariable2 (KeyOptionName, &KeyOption, NULL);
|
||||
GetEfiGlobalVariable2 (KeyOptionName, (VOID **) &KeyOption, NULL);
|
||||
ASSERT (KeyOption != NULL);
|
||||
if (IsKeyOptionValid (KeyOption)) {
|
||||
HotkeyInsertList (KeyOption);
|
||||
|
|
Loading…
Reference in New Issue