mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-03-23 15:09:21 +01:00
unused variable
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
parent
cebc223bb8
commit
3216ec0696
@ -916,7 +916,7 @@ IsOsxHibernated (IN LOADER_ENTRY *Entry)
|
||||
xs8.takeValueFrom(Ptr);
|
||||
// Status = StrToGuidBE(xs8, &TmpGuid);
|
||||
TmpGuid.takeValueFromBE(xs8);
|
||||
if (EFI_ERROR(Status)) {
|
||||
if (TmpGuid.isNull()) {
|
||||
DBG(" cant convert Str %ls to EFI_GUID\n", Ptr);
|
||||
} else {
|
||||
XStringW TmpStr = TmpGuid.toXStringW();
|
||||
|
@ -515,7 +515,7 @@ EFI_GUID getSmUUIDFromSmbios()
|
||||
DBG("SmbiosTable: Type 1 (System Information) not found!\n");
|
||||
return nullGuid;
|
||||
}
|
||||
EFI_GUID TmpGuid;
|
||||
// EFI_GUID TmpGuid;
|
||||
|
||||
// XString8 g = GuidBeToXString8(SmbiosTable.Type1->Uuid); // should we use the "variant" field to know if it's LE or BE
|
||||
XString8 guidBE = SmbiosTable.Type1->Uuid.toXString8(true); // This is the difference between PC and Mac. the UUID will be swapped (read as a LE, sent as a BE).
|
||||
|
Loading…
Reference in New Issue
Block a user