diff options
author | Erik Hovland <erik@hovland.org> | 2008-09-30 14:05:32 -0700 |
---|---|---|
committer | Dan Dennedy <dan@dennedy.org> | 2008-10-28 22:52:04 -0700 |
commit | 378b935fa35d9b00a36c20f8d27b489c99e1e2ef (patch) | |
tree | 0896a8bc4a356351490dc28c8cbc10e0a71adc81 | |
parent | 6747abb0572e15e4192ce30b410536d4e6761837 (diff) | |
download | libraw1394-378b935fa35d9b00a36c20f8d27b489c99e1e2ef.tar.gz |
Make sure variables are initialized before used.
Signed-off-by: Erik Hovland <erik@hovland.org>
Signed-off-by: Dan Dennedy <dan@dennedy.org>
-rw-r--r-- | src/fw-iso.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fw-iso.c b/src/fw-iso.c index f493444..9e66fff 100644 --- a/src/fw-iso.c +++ b/src/fw-iso.c @@ -84,7 +84,8 @@ queue_xmit_packets(raw1394handle_t handle, int limit) fw_handle_t fwhandle = handle->mode.fw; enum raw1394_iso_disposition d; unsigned char tag, sy; - int len, cycle, dropped; + int len, cycle = -1; + unsigned int dropped = 0; if (fwhandle->iso.xmit_handler == NULL) return 0; |