summaryrefslogtreecommitdiffstats
path: root/src/fw-iso.c
diff options
context:
space:
mode:
authorGravatar Stefan Richter 2008-10-18 01:24:31 +0200
committerGravatar Dan Dennedy 2008-10-28 22:56:09 -0700
commitd080bb3d83236eeb58b06dab987f4e7ed18030e0 (patch)
treecbfbca619bb128435abd2a4df91d6a6df6419980 /src/fw-iso.c
parentMakes extra sure strings are not overrun. (diff)
Address some compiler warnings
7x unused variable, 1x assignment used as truth value, 1x pointer signedness Signed-off-by: Dan Dennedy <dan@dennedy.org>
Diffstat (limited to 'src/fw-iso.c')
-rw-r--r--src/fw-iso.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fw-iso.c b/src/fw-iso.c
index a2ea38f..1022ebf 100644
--- a/src/fw-iso.c
+++ b/src/fw-iso.c
@@ -85,7 +85,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 = -1;
+ unsigned int len;
+ int cycle = -1;
unsigned int dropped = 0;
if (fwhandle->iso.xmit_handler == NULL)
@@ -258,9 +259,7 @@ int fw_iso_xmit_write(raw1394handle_t handle, unsigned char *data,
unsigned char sy)
{
fw_handle_t fwhandle = handle->mode.fw;
- struct fw_cdev_queue_iso queue_iso;
struct fw_cdev_start_iso start_iso;
- struct fw_cdev_iso_packet *p;
int retval;
if (len > fwhandle->iso.max_packet_size) {