pythonplugin: Fix compiler warning about unused format string argument
authorSebastian Dröge <sebastian@centricular.com>
Sun, 19 Oct 2014 11:34:59 +0000 (13:34 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 19 Oct 2014 11:34:59 +0000 (13:34 +0200)
  CC       libgstpythonplugin_la-gstpythonplugin.lo
gstpythonplugin.c:192:65: warning: data argument not used by format string
      [-Wformat-extra-args]
    GST_DEBUG ("GST_PLUGIN_SYSTEM_PATH set to %s", plugin_path, plugin_path);
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~               ^

plugin/gstpythonplugin.c

index 17c857b..32b7405 100644 (file)
@@ -189,7 +189,7 @@ gst_python_plugin_load (GstPlugin * plugin)
     gint i;
 
     /* 2.b. Scan GST_PLUGIN_SYSTEM_PATH */
-    GST_DEBUG ("GST_PLUGIN_SYSTEM_PATH set to %s", plugin_path, plugin_path);
+    GST_DEBUG ("GST_PLUGIN_SYSTEM_PATH set to %s", plugin_path);
     list = g_strsplit (plugin_path, G_SEARCHPATH_SEPARATOR_S, 0);
     for (i = 0; list[i]; i++) {
       gchar *sysdir;