diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-08-09 09:43:41 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-08-10 09:58:34 +0200 |
commit | 3fd4cdcc43db06e2d413fb3dcb452c213c79d124 (patch) | |
tree | 829ad0f9dc5b5f8b2d8b037f220380759a3e1f80 /ext | |
parent | d29ba8d48f2dcaa0cf3d59ebf77b39b5f6184418 (diff) |
raw1394: Remove unneeded variable
Diffstat (limited to 'ext')
-rw-r--r-- | ext/raw1394/gstdv1394src.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/raw1394/gstdv1394src.c b/ext/raw1394/gstdv1394src.c index 05f11788..543adc93 100644 --- a/ext/raw1394/gstdv1394src.c +++ b/ext/raw1394/gstdv1394src.c @@ -713,7 +713,6 @@ gst_dv1394src_discover_avc_node (GstDV1394Src * src) /* loop over all our ports */ for (; j < m && node == -1; j++) { raw1394handle_t handle; - gint n_ports; struct raw1394_portinfo pinf[16]; /* open the port */ @@ -722,7 +721,7 @@ gst_dv1394src_discover_avc_node (GstDV1394Src * src) GST_WARNING ("raw1394 - failed to get handle: %s.\n", strerror (errno)); continue; } - if ((n_ports = raw1394_get_port_info (handle, pinf, 16)) < 0) { + if (raw1394_get_port_info (handle, pinf, 16) < 0) { GST_WARNING ("raw1394 - failed to get port info: %s.\n", strerror (errno)); goto next; |