fixed uninitialized variable warnings
Modified: trunk/reactos/drivers/input/sermouse/detect.c
Modified: trunk/reactos/drivers/input/sermouse/internaldevctl.c
Property changes on: trunk/reactos/drivers/input/sermouse
___________________________________________________________________
Name: svn:ignore
+ *.coff
*.o
*.a
*.sys
*.sym
*.map
GNUmakefile
_____
Modified: trunk/reactos/drivers/input/sermouse/detect.c
--- 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;
_____
Modified: trunk/reactos/drivers/input/sermouse/internaldevctl.c
--- 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:
Show replies by date