[ros-diffs] [janderwald] 55122: [USBOHCI] - Fix warning - Remove assert [USBEHCI] - Remove assert

janderwald at svn.reactos.org janderwald at svn.reactos.org
Mon Jan 23 16:47:19 UTC 2012


Author: janderwald
Date: Mon Jan 23 16:47:19 2012
New Revision: 55122

URL: http://svn.reactos.org/svn/reactos?rev=55122&view=rev
Log:
[USBOHCI]
- Fix warning
- Remove assert
[USBEHCI]
- Remove assert

Modified:
    branches/usb-bringup-trunk/drivers/usb/usbehci_new/hcd_controller.cpp
    branches/usb-bringup-trunk/drivers/usb/usbohci/hcd_controller.cpp
    branches/usb-bringup-trunk/drivers/usb/usbohci/usb_request.cpp

Modified: branches/usb-bringup-trunk/drivers/usb/usbehci_new/hcd_controller.cpp
URL: http://svn.reactos.org/svn/reactos/branches/usb-bringup-trunk/drivers/usb/usbehci_new/hcd_controller.cpp?rev=55122&r1=55121&r2=55122&view=diff
==============================================================================
--- branches/usb-bringup-trunk/drivers/usb/usbehci_new/hcd_controller.cpp [iso-8859-1] (original)
+++ branches/usb-bringup-trunk/drivers/usb/usbehci_new/hcd_controller.cpp [iso-8859-1] Mon Jan 23 16:47:19 2012
@@ -502,7 +502,6 @@
                 //
                 // not supported
                 //
-                PC_ASSERT(0);
                 Status = STATUS_NOT_SUPPORTED;
             }
             break;

Modified: branches/usb-bringup-trunk/drivers/usb/usbohci/hcd_controller.cpp
URL: http://svn.reactos.org/svn/reactos/branches/usb-bringup-trunk/drivers/usb/usbohci/hcd_controller.cpp?rev=55122&r1=55121&r2=55122&view=diff
==============================================================================
--- branches/usb-bringup-trunk/drivers/usb/usbohci/hcd_controller.cpp [iso-8859-1] (original)
+++ branches/usb-bringup-trunk/drivers/usb/usbohci/hcd_controller.cpp [iso-8859-1] Mon Jan 23 16:47:19 2012
@@ -502,7 +502,6 @@
                 //
                 // not supported
                 //
-                PC_ASSERT(0);
                 Status = STATUS_NOT_SUPPORTED;
             }
             break;

Modified: branches/usb-bringup-trunk/drivers/usb/usbohci/usb_request.cpp
URL: http://svn.reactos.org/svn/reactos/branches/usb-bringup-trunk/drivers/usb/usbohci/usb_request.cpp?rev=55122&r1=55121&r2=55122&view=diff
==============================================================================
--- branches/usb-bringup-trunk/drivers/usb/usbohci/usb_request.cpp [iso-8859-1] (original)
+++ branches/usb-bringup-trunk/drivers/usb/usbohci/usb_request.cpp [iso-8859-1] Mon Jan 23 16:47:19 2012
@@ -654,7 +654,7 @@
 CUSBRequest::BuildIsochronousEndpoint(
     POHCI_ENDPOINT_DESCRIPTOR * OutEndpointDescriptor)
 {
-    POHCI_ISO_TD FirstDescriptor, PreviousDescriptor = NULL, CurrentDescriptor;
+    POHCI_ISO_TD FirstDescriptor = NULL, PreviousDescriptor = NULL, CurrentDescriptor = NULL;
     POHCI_ENDPOINT_DESCRIPTOR EndpointDescriptor;
     ULONG Index = 0, SubIndex, NumberOfPackets, PageOffset, Page;
     NTSTATUS Status;




More information about the Ros-diffs mailing list