Make sure variables are initialized before used.

Signed-off-by: Erik Hovland <erik@hovland.org>
Signed-off-by: Dan Dennedy <dan@dennedy.org>
This commit is contained in:
Erik Hovland 2008-09-30 14:05:32 -07:00 committed by Dan Dennedy
parent 6747abb057
commit 378b935fa3
1 changed files with 2 additions and 1 deletions

View File

@ -84,7 +84,8 @@ queue_xmit_packets(raw1394handle_t handle, int limit)
fw_handle_t fwhandle = handle->mode.fw; fw_handle_t fwhandle = handle->mode.fw;
enum raw1394_iso_disposition d; enum raw1394_iso_disposition d;
unsigned char tag, sy; unsigned char tag, sy;
int len, cycle, dropped; int len, cycle = -1;
unsigned int dropped = 0;
if (fwhandle->iso.xmit_handler == NULL) if (fwhandle->iso.xmit_handler == NULL)
return 0; return 0;