summaryrefslogtreecommitdiff
path: root/Platform/Intel/MinPlatformPkg/Bds/Library/DxePlatformBootManagerLib/BdsPlatform.c
diff options
context:
space:
mode:
Diffstat (limited to 'Platform/Intel/MinPlatformPkg/Bds/Library/DxePlatformBootManagerLib/BdsPlatform.c')
-rw-r--r--Platform/Intel/MinPlatformPkg/Bds/Library/DxePlatformBootManagerLib/BdsPlatform.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Platform/Intel/MinPlatformPkg/Bds/Library/DxePlatformBootManagerLib/BdsPlatform.c b/Platform/Intel/MinPlatformPkg/Bds/Library/DxePlatformBootManagerLib/BdsPlatform.c
index ac12ae5318..e3cefb485d 100644
--- a/Platform/Intel/MinPlatformPkg/Bds/Library/DxePlatformBootManagerLib/BdsPlatform.c
+++ b/Platform/Intel/MinPlatformPkg/Bds/Library/DxePlatformBootManagerLib/BdsPlatform.c
@@ -225,6 +225,8 @@ IsTrustedConsole (
ConsoleDevice = DuplicateDevicePath(Device);
+ TrustedConsoleDevicepath = NULL;
+
switch (ConsoleType) {
case ConIn:
TrustedConsoleDevicepath = PcdGetPtr (PcdTrustedConsoleInputDevicePath);