[DRIVERS]

don't use uninitialized variables

svn path=/trunk/; revision=65066
This commit is contained in:
Christoph von Wittich 2014-10-28 08:15:49 +00:00
parent c8e18b66a9
commit 27b8f91dbd
2 changed files with 3 additions and 1 deletions

View file

@ -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;

View file

@ -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 */