[ros-diffs] [fireball] 39771: - Rename a variable so it doesn't conflict with a reserved keyword.

fireball at svn.reactos.org fireball at svn.reactos.org
Thu Feb 26 14:19:35 CET 2009


Author: fireball
Date: Thu Feb 26 16:19:34 2009
New Revision: 39771

URL: http://svn.reactos.org/svn/reactos?rev=39771&view=rev
Log:
- Rename a variable so it doesn't conflict with a reserved keyword.

Modified:
    trunk/reactos/drivers/usb/nt4compat/usbdriver/uhci.c

Modified: trunk/reactos/drivers/usb/nt4compat/usbdriver/uhci.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/nt4compat/usbdriver/uhci.c?rev=39771&r1=39770&r2=39771&view=diff
==============================================================================
--- trunk/reactos/drivers/usb/nt4compat/usbdriver/uhci.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/nt4compat/usbdriver/uhci.c [iso-8859-1] Thu Feb 26 16:19:34 2009
@@ -189,16 +189,16 @@
 PUHCI_PENDING_ENDP
 alloc_pending_endp(PUHCI_PENDING_ENDP_POOL pool, LONG count)
 {
-    PUHCI_PENDING_ENDP new;
+    PUHCI_PENDING_ENDP new_endp;
     if (pool == NULL || count != 1)
         return NULL;
 
     if (pool->free_count <= 0)
         return NULL;
 
-    new = (PUHCI_PENDING_ENDP) RemoveHeadList(&pool->free_que);
+    new_endp = (PUHCI_PENDING_ENDP) RemoveHeadList(&pool->free_que);
     pool->free_count--;
-    return new;
+    return new_endp;
 }
 
 BOOLEAN



More information about the Ros-diffs mailing list