mirror of
https://github.com/reactos/reactos.git
synced 2024-06-01 02:01:57 +00:00
[DRIVERS]
don't use uninitialized variables svn path=/trunk/; revision=65066
This commit is contained in:
parent
c8e18b66a9
commit
27b8f91dbd
|
@ -450,7 +450,7 @@ GetProcessorInformation(VOID)
|
|||
LPWSTR ProcessorVendorIdentifier = NULL;
|
||||
LPWSTR HardwareIdsBuffer = NULL;
|
||||
HANDLE ProcessorHandle = NULL;
|
||||
ULONG Length, Level1Length = 0, Level2Length = 0, Level3Length = 0;
|
||||
ULONG Length = 0, Level1Length = 0, Level2Length = 0, Level3Length = 0;
|
||||
SIZE_T HardwareIdsLength = 0;
|
||||
SIZE_T VendorIdentifierLength;
|
||||
ULONG i;
|
||||
|
|
|
@ -478,6 +478,8 @@ PciAddDevice(IN PDRIVER_OBJECT DriverObject,
|
|||
AttachedTo = NULL;
|
||||
FdoExtension = NULL;
|
||||
PdoExtension = NULL;
|
||||
DeviceObject = NULL;
|
||||
|
||||
do
|
||||
{
|
||||
/* Check if there's already a device extension for this bus */
|
||||
|
|
Loading…
Reference in a new issue