Author: fireball
Date: Sun Sep 28 06:16:41 2008
New Revision: 36573
URL:
http://svn.reactos.org/svn/reactos?rev=36573&view=rev
Log:
- Fix uninitialized variable usage. Fixes Coverity CID: 1293.
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/usbd…
==============================================================================
--- trunk/reactos/drivers/usb/nt4compat/usbdriver/uhci.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/nt4compat/usbdriver/uhci.c [iso-8859-1] Sun Sep 28 06:16:41
2008
@@ -2348,7 +2348,7 @@
PUHCI_TD ptd;
LIST_ENTRY td_list, *pthis, *pnext;
int i;
- BOOLEAN toggle, ret;
+ BOOLEAN toggle = FALSE, ret;
if (uhci == NULL || urb == NULL)
return STATUS_INVALID_PARAMETER;