MsCorePkg/PlatformBootManagerLib: Update pointer derefernce syntax

Uses `->` instead `*<pointer.` for conciseness as noted in a
code review.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
This commit is contained in:
Michael Kubacki 2023-06-09 21:33:32 -04:00
Родитель 27fd6d1904
Коммит 47698b127d
1 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -237,20 +237,20 @@ PlatformBootManagerBeforeConsole (
}
if (PlatformConsoles != NULL) {
while ((*PlatformConsoles).DevicePath != NULL) {
while (PlatformConsoles->DevicePath != NULL) {
//
// Update the console variable with the connect type
//
if (((*PlatformConsoles).ConnectType & CONSOLE_IN) == CONSOLE_IN) {
EfiBootManagerUpdateConsoleVariable (ConIn, (*PlatformConsoles).DevicePath, NULL);
if ((PlatformConsoles->ConnectType & CONSOLE_IN) == CONSOLE_IN) {
EfiBootManagerUpdateConsoleVariable (ConIn, PlatformConsoles->DevicePath, NULL);
}
if (((*PlatformConsoles).ConnectType & CONSOLE_OUT) == CONSOLE_OUT) {
EfiBootManagerUpdateConsoleVariable (ConOut, (*PlatformConsoles).DevicePath, NULL);
if ((PlatformConsoles->ConnectType & CONSOLE_OUT) == CONSOLE_OUT) {
EfiBootManagerUpdateConsoleVariable (ConOut, PlatformConsoles->DevicePath, NULL);
}
if (((*PlatformConsoles).ConnectType & STD_ERROR) == STD_ERROR) {
EfiBootManagerUpdateConsoleVariable (ErrOut, (*PlatformConsoles).DevicePath, NULL);
if ((PlatformConsoles->ConnectType & STD_ERROR) == STD_ERROR) {
EfiBootManagerUpdateConsoleVariable (ErrOut, PlatformConsoles->DevicePath, NULL);
}
PlatformConsoles++;