From 656423bd6530538621c626dccd399841a8b461cf Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Thu, 19 Jan 2012 16:35:04 +0100 Subject: [PATCH] gst-discoverer: remove extraneous variable --- tools/gst-discoverer.c | 3 --- 1 file changed, 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); } -- 2.34.1