mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-05-31 07:08:35 -04:00
Code Optimize
This commit is contained in:
parent
784e3ae879
commit
2936666a78
4 changed files with 12 additions and 12 deletions
|
@ -70,10 +70,10 @@ SetLogging(VOID)
|
|||
CHAR16 LogVar[4];
|
||||
UINTN i, LogVarSize = sizeof(LogVar);
|
||||
|
||||
i = LogVarSize;
|
||||
i = LogVarSize;
|
||||
Status = RT->GetVariable(L"FS_NAME_NOCASE", &ShellVariable, NULL, &i, LogVar);
|
||||
if (Status == EFI_SUCCESS)
|
||||
g_fs_name_nocase = 1;
|
||||
if (Status == EFI_SUCCESS)
|
||||
g_fs_name_nocase = 1;
|
||||
|
||||
Status = RT->GetVariable(L"FS_LOGGING", &ShellVariable, NULL, &LogVarSize, LogVar);
|
||||
if (Status == EFI_SUCCESS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue