[PATCH 3/3] silent warnings of unused variables



From: Lionel Landwerlin <lionel g landwerlin linux intel com>

Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel 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 b21a0d7..b2182b5 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) {
-- 
1.7.5.4



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