Fix warnings due to previous checkin
authorDavid Schleef <ds@schleef.org>
Fri, 31 Oct 2003 20:54:44 +0000 (20:54 +0000)
committerDavid Schleef <ds@schleef.org>
Fri, 31 Oct 2003 20:54:44 +0000 (20:54 +0000)
Original commit message from CVS:
Fix warnings due to previous checkin

gst/gstpipeline.c
gst/gstplugin.c

index 7338039..aa55d91 100644 (file)
@@ -83,7 +83,7 @@ gst_pipeline_get_type (void) {
 static void
 gst_pipeline_base_init (gpointer g_class)
 {
-  GstElementClass *gstelement_class;
+  GstElementClass *gstelement_class = GST_ELEMENT_CLASS (g_class);
   
   gst_element_class_set_details (gstelement_class, &gst_pipeline_details);
 }
index 9e77f53..0ae37e6 100644 (file)
@@ -200,8 +200,8 @@ gst_plugin_load_file (const gchar *filename, GError **error)
     g_set_error (error,
                  GST_PLUGIN_ERROR,
                  GST_PLUGIN_ERROR_MODULE,
-                 "Problem opening file %s (plugin %s)\n",
-                 filename, plugin->desc.name); 
+                 "Problem opening file %s\n",
+                 filename); 
     return FALSE;
   }