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:
parent
6747abb057
commit
378b935fa3
|
@ -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;
|
||||||
|
|
Reference in New Issue