From 378b935fa35d9b00a36c20f8d27b489c99e1e2ef Mon Sep 17 00:00:00 2001 From: Erik Hovland Date: Tue, 30 Sep 2008 14:05:32 -0700 Subject: [PATCH] Make sure variables are initialized before used. Signed-off-by: Erik Hovland Signed-off-by: Dan Dennedy --- src/fw-iso.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;