mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[DRIVERS]
don't use uninitialized variables svn path=/trunk/; revision=65066
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user