From 42c5e74e0dc7a6de62ab91c01371802bf80971be Mon Sep 17 00:00:00 2001 From: David Schleef Date: Fri, 31 Oct 2003 20:54:44 +0000 Subject: [PATCH] Fix warnings due to previous checkin Original commit message from CVS: Fix warnings due to previous checkin --- gst/gstpipeline.c | 2 +- gst/gstplugin.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/gstpipeline.c b/gst/gstpipeline.c index 7338039266..aa55d91786 100644 --- a/gst/gstpipeline.c +++ b/gst/gstpipeline.c @@ -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); } diff --git a/gst/gstplugin.c b/gst/gstplugin.c index 9e77f533ff..0ae37e6545 100644 --- a/gst/gstplugin.c +++ b/gst/gstplugin.c @@ -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; }