[NTOS:IO] Comment out (and explain why it is there) an unused LdrEntry assignment in IopInitializeBootDrivers(). CID 1237114

This commit is contained in:
Hermès Bélusca-Maïto 2021-06-11 01:46:50 +02:00
parent fe416b67dc
commit f2645e48b9
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -1050,8 +1050,14 @@ IopInitializeBootDrivers(VOID)
BOOT_DRIVER_LIST_ENTRY,
Link);
// FIXME: TODO: This LdrEntry is to be used in a special handling
// for SETUPLDR (a similar procedure is done on Windows), where
// the loader would, under certain conditions, be loaded in the
// SETUPLDR-specific code block below...
#if 0
/* Get the driver loader entry */
LdrEntry = BootEntry->LdrEntry;
#endif
/* Allocate our internal accounting structure */
DriverInfo = ExAllocatePoolWithTag(PagedPool,