Initialize flags variable to 0

svn path=/trunk/; revision=17858
This commit is contained in:
Hervé Poussineau 2005-09-15 12:57:11 +00:00
parent 8e8dbdf319
commit 7329dca76f
2 changed files with 2 additions and 2 deletions

View file

@ -165,7 +165,7 @@ static int ohci_urb_enqueue (
urb_priv_t *urb_priv;
unsigned int pipe = urb->pipe;
int i, size = 0;
unsigned long flags;
unsigned long flags = 0;
int retval = 0;
#ifdef OHCI_VERBOSE_DEBUG

View file

@ -344,7 +344,7 @@ static struct ed *ed_get (
struct hcd_dev *dev = (struct hcd_dev *) udev->hcpriv;
struct ed *ed;
unsigned ep;
unsigned long flags;
unsigned long flags = 0;
ep = usb_pipeendpoint (pipe) << 1;
if (type != PIPE_CONTROL && is_out)