]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkNt32Pkg/Dxe/PlatformBds/Generic/BootMaint/Variable.c
Add PcdComponentName2Disable and PcdDriverDiagnostics2Disable.
[mirror_edk2.git] / EdkNt32Pkg / Dxe / PlatformBds / Generic / BootMaint / Variable.c
index 88955c730d6179e1e6652b41f70caf741ea14113..cac68a16b061ab174477df80a0b1880ba77e4a1f 100644 (file)
@@ -450,6 +450,7 @@ Var_UpdateConsoleOption (
                             NewTerminalContext->DevicePath,\r
                             (EFI_DEVICE_PATH_PROTOCOL *) &Vendor\r
                             );\r
+      ASSERT (TerminalDevicePath != NULL);\r
       ChangeTerminalDevicePath (TerminalDevicePath, TRUE);\r
       Temp = DevicePathToStr (TerminalDevicePath);\r
       ConDevicePath = AppendDevicePathInstance (\r