gst-discoverer: remove extraneous variable
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Thu, 19 Jan 2012 15:35:04 +0000 (16:35 +0100)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Thu, 19 Jan 2012 15:43:35 +0000 (16:43 +0100)
tools/gst-discoverer.c

index c6d6092..d7fc3ce 100644 (file)
@@ -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);
   }