From c1f432ee1800eefe8e8eed4a9ae9207063b3f378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Tue, 12 Jul 2011 17:57:45 -0400 Subject: [PATCH] pcapparse: Fix set-but-unused warnings --- gst/pcapparse/gstpcapparse.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst/pcapparse/gstpcapparse.c b/gst/pcapparse/gstpcapparse.c index 2d3436cc60..47bf0ace23 100644 --- a/gst/pcapparse/gstpcapparse.c +++ b/gst/pcapparse/gstpcapparse.c @@ -466,7 +466,6 @@ gst_pcap_parse_chain (GstPad * pad, GstBuffer * buffer) guint32 ts_sec; guint32 ts_usec; guint32 incl_len; - guint32 orig_len; if (avail < 16) break; @@ -476,7 +475,7 @@ gst_pcap_parse_chain (GstPad * pad, GstBuffer * buffer) ts_sec = gst_pcap_parse_read_uint32 (self, data + 0); ts_usec = gst_pcap_parse_read_uint32 (self, data + 4); incl_len = gst_pcap_parse_read_uint32 (self, data + 8); - orig_len = gst_pcap_parse_read_uint32 (self, data + 12); + /* orig_len = gst_pcap_parse_read_uint32 (self, data + 12); */ gst_adapter_flush (self->adapter, 16);