urisourcebin: Remove unused signal handler variable
authorSeungha Yang <sh.yang@lge.com>
Sat, 24 Dec 2016 07:15:45 +0000 (16:15 +0900)
committerJan Schmidt <jan@centricular.com>
Tue, 10 Jan 2017 13:26:27 +0000 (00:26 +1100)
Remove never used handler id

https://bugzilla.gnome.org/show_bug.cgi?id=776458

gst/playback/gsturisourcebin.c

index 9585371..c5883ea 100644 (file)
@@ -123,7 +123,6 @@ struct _GstURISourceBin
 
   GstElement *source;
   GstElement *typefind;
-  guint have_type_id;           /* have-type signal id from typefind */
 
   GstElement *demuxer;          /* Adaptive demuxer if any */
   GSList *out_slots;
@@ -1991,8 +1990,7 @@ setup_streaming (GstURISourceBin * urisrc)
 
   /* connect a signal to find out when the typefind element found
    * a type */
-  urisrc->have_type_id =
-      g_signal_connect (urisrc->typefind, "have-type",
+  g_signal_connect (urisrc->typefind, "have-type",
       G_CALLBACK (type_found), urisrc);
 
   return TRUE;