fix uninitialized variable warnings

svn path=/trunk/; revision=14526
This commit is contained in:
Royce Mitchell III 2005-04-06 12:32:14 +00:00
parent 2cec8d9d65
commit b8442ebcdd
2 changed files with 2 additions and 2 deletions

View file

@ -105,7 +105,7 @@ ReportDetectedDevice(
IN PUNICODE_STRING CompatibleIds)
{
PDEVICE_OBJECT Pdo = NULL;
PPDO_DEVICE_EXTENSION PdoDeviceExtension;
PPDO_DEVICE_EXTENSION PdoDeviceExtension = NULL;
PFDO_DEVICE_EXTENSION FdoDeviceExtension;
NTSTATUS Status;

View file

@ -100,7 +100,7 @@ SerenumFdoQueryBusRelations(
PDEVICE_RELATIONS DeviceRelations;
ULONG NumPDO;
ULONG i;
NTSTATUS Status;
NTSTATUS Status = STATUS_SUCCESS;
DeviceExtension = (PFDO_DEVICE_EXTENSION)DeviceObject->DeviceExtension;
ASSERT(DeviceExtension->Common.IsFDO);