From 0cb5b42d546538b455ac3bbe90b07e3eb67eb820 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Sat, 18 Apr 2009 18:11:00 +0200 Subject: Remove trivial unused variables detected by CLang static analyzer. --- gst/rtsp/gstrtpdec.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gst/rtsp/gstrtpdec.c') 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: -- cgit