summaryrefslogtreecommitdiffstats
path: root/ext/raw1394/gsthdv1394src.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/raw1394/gsthdv1394src.c')
-rw-r--r--ext/raw1394/gsthdv1394src.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/raw1394/gsthdv1394src.c b/ext/raw1394/gsthdv1394src.c
index 30f59d59..4f726f8c 100644
--- a/ext/raw1394/gsthdv1394src.c
+++ b/ext/raw1394/gsthdv1394src.c
@@ -480,7 +480,6 @@ gst_hdv1394src_discover_avc_node (GstHDV1394Src * 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 */
@@ -489,7 +488,7 @@ gst_hdv1394src_discover_avc_node (GstHDV1394Src * 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;