summaryrefslogtreecommitdiffstats
path: root/gst/icydemux
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/icydemux
parentcdb03bdc2b4548909f3f47eec6dfbbb3b5159411 (diff)
Remove trivial unused variables detected by CLang static analyzer.
Diffstat (limited to 'gst/icydemux')
-rw-r--r--gst/icydemux/gsticydemux.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gst/icydemux/gsticydemux.c b/gst/icydemux/gsticydemux.c
index 234f3f80..d857e2ca 100644
--- a/gst/icydemux/gsticydemux.c
+++ b/gst/icydemux/gsticydemux.c
@@ -234,8 +234,6 @@ gst_icydemux_dispose (GObject * object)
static gboolean
gst_icydemux_add_srcpad (GstICYDemux * icydemux, GstCaps * new_caps)
{
- GstPad *srcpad = NULL;
-
if (icydemux->src_caps == NULL ||
!gst_caps_is_equal (new_caps, icydemux->src_caps)) {
gst_caps_replace (&(icydemux->src_caps), new_caps);
@@ -251,7 +249,7 @@ gst_icydemux_add_srcpad (GstICYDemux * icydemux, GstCaps * new_caps)
}
if (icydemux->srcpad == NULL) {
- srcpad = icydemux->srcpad =
+ icydemux->srcpad =
gst_pad_new_from_template (gst_element_class_get_pad_template
(GST_ELEMENT_GET_CLASS (icydemux), "src"), "src");
g_return_val_if_fail (icydemux->srcpad != NULL, FALSE);