[grilo/0.1.x] core: silent warnings of unused variables



commit 427a5379195ef736a8675d9c0247ad2956de146d
Author: Lionel Landwerlin <lionel g landwerlin linux intel com>
Date:   Wed Jun 29 14:13:39 2011 +0100

    core: silent warnings of unused variables
    
    Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel com>
    Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>

 src/grl-media-plugin.c     |    3 ---
 tools/grilo-test-ui/main.c |    2 --
 2 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/grl-media-plugin.c b/src/grl-media-plugin.c
index 4ff2789..5d91dae 100644
--- a/src/grl-media-plugin.c
+++ b/src/grl-media-plugin.c
@@ -59,9 +59,6 @@ G_DEFINE_ABSTRACT_TYPE (GrlMediaPlugin, grl_media_plugin, G_TYPE_OBJECT);
 static void
 grl_media_plugin_class_init (GrlMediaPluginClass *media_plugin_class)
 {
-  GObjectClass *gobject_class;
-  gobject_class = G_OBJECT_CLASS (media_plugin_class);
-
   g_type_class_add_private (media_plugin_class,
                             sizeof (GrlMediaPluginPrivate));
 }
diff --git a/tools/grilo-test-ui/main.c b/tools/grilo-test-ui/main.c
index d1efff0..a43b60f 100644
--- a/tools/grilo-test-ui/main.c
+++ b/tools/grilo-test-ui/main.c
@@ -520,7 +520,6 @@ metadata_cb (GrlMediaSource *source,
 {
   GList *keys, *i;
   GtkTreeIter iter;
-  GrlPluginRegistry *registry;
 
   /* Not interested if not the last media we
      requested metadata for */
@@ -548,7 +547,6 @@ metadata_cb (GrlMediaSource *source,
   }
 
   if (media) {
-    registry = grl_plugin_registry_get_default ();
     keys = grl_data_get_keys (GRL_DATA (media));
     i = keys;
     while (i) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]