summaryrefslogtreecommitdiffstats
path: root/gst/rtsp/gstrtpdec.c
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-04-18 18:11:00 +0200
committerEdward Hervey <bilboed@bilboed.com>2009-04-18 18:51:28 +0200
commit0cb5b42d546538b455ac3bbe90b07e3eb67eb820 (patch)
tree24b178742be806e745b7a3891aa0d63920c364b4 /gst/rtsp/gstrtpdec.c
parentcdb03bdc2b4548909f3f47eec6dfbbb3b5159411 (diff)
Remove trivial unused variables detected by CLang static analyzer.
Diffstat (limited to 'gst/rtsp/gstrtpdec.c')
-rw-r--r--gst/rtsp/gstrtpdec.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gst/rtsp/gstrtpdec.c b/gst/rtsp/gstrtpdec.c
index c6a942e4..bacfea19 100644
--- a/gst/rtsp/gstrtpdec.c
+++ b/gst/rtsp/gstrtpdec.c
@@ -442,11 +442,8 @@ gst_rtp_dec_finalize (GObject * object)
static gboolean
gst_rtp_dec_query_src (GstPad * pad, GstQuery * query)
{
- GstRTPDec *rtpdec;
gboolean res;
- rtpdec = GST_RTP_DEC (GST_PAD_PARENT (pad));
-
switch (GST_QUERY_TYPE (query)) {
case GST_QUERY_LATENCY:
{
@@ -755,9 +752,6 @@ static GstStateChangeReturn
gst_rtp_dec_change_state (GstElement * element, GstStateChange transition)
{
GstStateChangeReturn ret;
- GstRTPDec *rtpdec;
-
- rtpdec = GST_RTP_DEC (element);
switch (transition) {
default: