diff options
| author | 2008-09-30 14:05:32 -0700 | |
|---|---|---|
| committer | 2008-10-28 22:52:04 -0700 | |
| commit | 378b935fa35d9b00a36c20f8d27b489c99e1e2ef (patch) | |
| tree | 0896a8bc4a356351490dc28c8cbc10e0a71adc81 /src/fw-iso.c | |
| parent | dispatch.c: fix a memory leak on not deleting the raw1394 wrapper handle. (diff) | |
Make sure variables are initialized before used.
Signed-off-by: Erik Hovland <erik@hovland.org>
Signed-off-by: Dan Dennedy <dan@dennedy.org>
Diffstat (limited to '')
| -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; |
