summaryrefslogtreecommitdiff
path: root/ext/musicbrainz
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2011-04-15 00:09:14 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2011-04-15 00:24:47 +0100
commit5d6bdf605207dcd31c830fc213f71161cd2f6f5c (patch)
tree5f9a7eaa6fbb0946acaadafaefae6ab53586338c /ext/musicbrainz
parentfb0222ea67322a4e743593a3ed6741571d5aede7 (diff)
downloadgstreamer-plugins-bad-5d6bdf605207dcd31c830fc213f71161cd2f6f5c.tar.gz
Fix some unused-but-set-variable warnings with gcc 4.6
Diffstat (limited to 'ext/musicbrainz')
-rw-r--r--ext/musicbrainz/gsttrm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/musicbrainz/gsttrm.c b/ext/musicbrainz/gsttrm.c
index facba1cb2..7e53cc078 100644
--- a/ext/musicbrainz/gsttrm.c
+++ b/ext/musicbrainz/gsttrm.c
@@ -171,7 +171,6 @@ gst_trm_setcaps (GstPad * pad, GstCaps * caps)
{
GstTRM *trm;
GstStructure *structure;
- const gchar *mimetype;
gint width;
trm = GST_TRM (gst_pad_get_parent (pad));
@@ -180,7 +179,6 @@ gst_trm_setcaps (GstPad * pad, GstCaps * caps)
return FALSE;
structure = gst_caps_get_structure (caps, 0);
- mimetype = gst_structure_get_name (structure);
if (!gst_structure_get_int (structure, "depth", &trm->depth) ||
!gst_structure_get_int (structure, "width", &width) ||