fix uninitialized variable warnings
Modified: trunk/reactos/drivers/bus/serenum/detect.c
Modified: trunk/reactos/drivers/bus/serenum/fdo.c

Modified: trunk/reactos/drivers/bus/serenum/detect.c
--- trunk/reactos/drivers/bus/serenum/detect.c	2005-04-06 11:14:57 UTC (rev 14525)
+++ trunk/reactos/drivers/bus/serenum/detect.c	2005-04-06 12:32:14 UTC (rev 14526)
@@ -105,7 +105,7 @@
 	IN PUNICODE_STRING CompatibleIds)
 {
 	PDEVICE_OBJECT Pdo = NULL;
-	PPDO_DEVICE_EXTENSION PdoDeviceExtension;
+	PPDO_DEVICE_EXTENSION PdoDeviceExtension = NULL;
 	PFDO_DEVICE_EXTENSION FdoDeviceExtension;
 	NTSTATUS Status;
 	

Modified: trunk/reactos/drivers/bus/serenum/fdo.c
--- trunk/reactos/drivers/bus/serenum/fdo.c	2005-04-06 11:14:57 UTC (rev 14525)
+++ trunk/reactos/drivers/bus/serenum/fdo.c	2005-04-06 12:32:14 UTC (rev 14526)
@@ -100,7 +100,7 @@
 	PDEVICE_RELATIONS DeviceRelations;
 	ULONG NumPDO;
 	ULONG i;
-	NTSTATUS Status;
+	NTSTATUS Status = STATUS_SUCCESS;
 	
 	DeviceExtension = (PFDO_DEVICE_EXTENSION)DeviceObject->DeviceExtension;
 	ASSERT(DeviceExtension->Common.IsFDO);