mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 14:18:41 +00:00
fixed uninitialized variable warnings
svn path=/trunk/; revision=18059
This commit is contained in:
parent
b078f93c83
commit
36b54a2e7c
|
@ -227,7 +227,7 @@ UsbMpPnpFdo(
|
|||
{
|
||||
case BusRelations:
|
||||
{
|
||||
PDEVICE_RELATIONS DeviceRelations;
|
||||
PDEVICE_RELATIONS DeviceRelations = NULL;
|
||||
DPRINT("USBMP: IRP_MJ_PNP / IRP_MN_QUERY_DEVICE_RELATIONS / BusRelations\n");
|
||||
Status = UsbMpFdoQueryBusRelations(DeviceObject, &DeviceRelations);
|
||||
Information = (ULONG_PTR)DeviceRelations;
|
||||
|
|
|
@ -252,7 +252,7 @@ UsbhubPnpFdo(
|
|||
{
|
||||
case BusRelations:
|
||||
{
|
||||
PDEVICE_RELATIONS DeviceRelations;
|
||||
PDEVICE_RELATIONS DeviceRelations = NULL;
|
||||
DPRINT("Usbhub: IRP_MJ_PNP / IRP_MN_QUERY_DEVICE_RELATIONS / BusRelations\n");
|
||||
Status = UsbhubFdoQueryBusRelations(DeviceObject, &DeviceRelations);
|
||||
Information = (ULONG_PTR)DeviceRelations;
|
||||
|
|
|
@ -569,7 +569,7 @@ void usb_sg_cancel (struct usb_sg_request *io)
|
|||
int usb_get_descriptor(struct usb_device *dev, unsigned char type, unsigned char index, void *buf, int size)
|
||||
{
|
||||
int i = 5;
|
||||
int result;
|
||||
int result = 0;
|
||||
|
||||
memset(buf,0,size); // Make sure we parse really received data
|
||||
|
||||
|
|
Loading…
Reference in a new issue