[ros-diffs] [janderwald] 52035: [USBHUB_NEW] - Fix compilation

janderwald at svn.reactos.org janderwald at svn.reactos.org
Wed Jun 1 08:10:42 UTC 2011


Author: janderwald
Date: Wed Jun  1 08:10:41 2011
New Revision: 52035

URL: http://svn.reactos.org/svn/reactos?rev=52035&view=rev
Log:
[USBHUB_NEW]
- Fix compilation

Modified:
    branches/usb-bringup/drivers/usb/usbhub_new/fdo.c

Modified: branches/usb-bringup/drivers/usb/usbhub_new/fdo.c
URL: http://svn.reactos.org/svn/reactos/branches/usb-bringup/drivers/usb/usbhub_new/fdo.c?rev=52035&r1=52034&r2=52035&view=diff
==============================================================================
--- branches/usb-bringup/drivers/usb/usbhub_new/fdo.c [iso-8859-1] (original)
+++ branches/usb-bringup/drivers/usb/usbhub_new/fdo.c [iso-8859-1] Wed Jun  1 08:10:41 2011
@@ -1,4 +1,4 @@
-/*
+/*
  * PROJECT:         ReactOS Universal Serial Bus Hub Driver
  * LICENSE:         GPL - See COPYING in the top level directory
  * FILE:            drivers/usb/usbhub/fdo.c
@@ -254,8 +254,10 @@
     PWORK_ITEM_DATA WorkItemData;
     PORT_STATUS_CHANGE PortStatus;
     LONG PortId;
+
+    static LONG failsafe = 0;
+
     DPRINT1("Entered DeviceStatusChangeThread, Context %x\n", Context);
-    static LONG failsafe = 0;
 
     WorkItemData = (PWORK_ITEM_DATA)Context;
     DeviceObject = (PDEVICE_OBJECT)WorkItemData->Context;




More information about the Ros-diffs mailing list