summaryrefslogtreecommitdiff
path: root/tools/gst-discoverer.c
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-01-19 16:35:04 +0100
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-01-19 16:43:35 +0100
commit656423bd6530538621c626dccd399841a8b461cf (patch)
tree435ec80e6a4c7dc4e2511c9b7416df8752828f76 /tools/gst-discoverer.c
parentbe34d4c78ef9f31f5c7e3a58a546855e7e30dfae (diff)
downloadgstreamer-plugins-base-656423bd6530538621c626dccd399841a8b461cf.tar.gz
gst-discoverer: remove extraneous variable
Diffstat (limited to 'tools/gst-discoverer.c')
-rw-r--r--tools/gst-discoverer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/gst-discoverer.c b/tools/gst-discoverer.c
index c6d609277..d7fc3ce47 100644
--- a/tools/gst-discoverer.c
+++ b/tools/gst-discoverer.c
@@ -411,7 +411,6 @@ process_file (GstDiscoverer * dc, const gchar * filename)
GDir *dir;
gchar *uri, *path;
GstDiscovererInfo *info;
- GstStructure *st = NULL;
if (!gst_uri_is_valid (filename)) {
/* Recurse into directories */
@@ -459,8 +458,6 @@ process_file (GstDiscoverer * dc, const gchar * filename)
if (err)
g_error_free (err);
gst_discoverer_info_unref (info);
- if (st)
- gst_structure_free (st);
} else {
gst_discoverer_discover_uri_async (dc, uri);
}