diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-04-18 18:11:00 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-04-18 18:51:28 +0200 |
commit | 0cb5b42d546538b455ac3bbe90b07e3eb67eb820 (patch) | |
tree | 24b178742be806e745b7a3891aa0d63920c364b4 /gst/icydemux | |
parent | cdb03bdc2b4548909f3f47eec6dfbbb3b5159411 (diff) | |
download | gstreamer-plugins-good-0cb5b42d546538b455ac3bbe90b07e3eb67eb820.tar.gz |
Remove trivial unused variables detected by CLang static analyzer.
Diffstat (limited to 'gst/icydemux')
-rw-r--r-- | gst/icydemux/gsticydemux.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gst/icydemux/gsticydemux.c b/gst/icydemux/gsticydemux.c index 234f3f800..d857e2caa 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); |