fixed uninitialized variable warnings

svn path=/trunk/; revision=19103
This commit is contained in:
Thomas Bluemel 2005-11-09 18:39:33 +00:00
parent 2b1eb3ce49
commit 970e0f7ac4
2 changed files with 2 additions and 1 deletions

View file

@ -160,7 +160,7 @@ SermouseDetectLegacyDevice(
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;

View file

@ -49,6 +49,7 @@ SermouseInternalDeviceControl(
/* Ask read loop to end */
KeSetEvent(&DeviceExtension->StopWorkerThreadEvent, (KPRIORITY)0, FALSE);
Status = STATUS_SUCCESS;
break;
}
case IOCTL_MOUSE_QUERY_ATTRIBUTES: