--- trunk/reactos/drivers/input/sermouse/detect.c 2005-11-09 13:00:38 UTC (rev 19102)
+++ trunk/reactos/drivers/input/sermouse/detect.c 2005-11-09 18:39:33 UTC (rev 19103)
@@ -160,7 +160,7 @@
ULONG Command;
SERIAL_TIMEOUTS Timeouts;
SERIAL_LINE_CONTROL LCR;
- ULONG i, Count;
+ ULONG i, Count = 0;
UCHAR Buffer[16];
SERMOUSE_MOUSE_TYPE MouseType = mtNone;
NTSTATUS Status;
--- trunk/reactos/drivers/input/sermouse/internaldevctl.c 2005-11-09 13:00:38 UTC (rev 19102)
+++ trunk/reactos/drivers/input/sermouse/internaldevctl.c 2005-11-09 18:39:33 UTC (rev 19103)
@@ -49,6 +49,7 @@
/* Ask read loop to end */
KeSetEvent(&DeviceExtension->StopWorkerThreadEvent, (KPRIORITY)0, FALSE);
+ Status = STATUS_SUCCESS;
break;
}
case IOCTL_MOUSE_QUERY_ATTRIBUTES: