plugins: fix all warnings
authorAlexander Kanavin <alexander.kanavin@intel.com>
Fri, 15 Feb 2013 14:37:22 +0000 (16:37 +0200)
committerAlexander Kanavin <alexander.kanavin@intel.com>
Fri, 15 Feb 2013 14:37:22 +0000 (16:37 +0200)
src/daemon/plugins/gsignond-plugin-proxy-factory.c
src/daemon/plugins/gsignond-plugin-proxy.c
src/plugins/password/gsignond-password-plugin.c

index 23efec3..a30f864 100644 (file)
@@ -54,6 +54,8 @@ gsignond_plugin_proxy_factory_constructor (GType                  gtype,
   
   /* update the object state depending on constructor properties */
   GSignondPluginProxyFactory* self = GSIGNOND_PLUGIN_PROXY_FACTORY(obj);
+  
+  (void) self;
 
   return obj;
 }
index d4f715f..d379792 100644 (file)
@@ -266,7 +266,7 @@ gsignond_plugin_proxy_new(GSignondConfig *config, const gchar* plugin_type)
                                               NULL);
     if (proxy->plugin != NULL) {
         gchar *type;
-        g_object_get(proxy->plugin, "type", &type);
+        g_object_get(proxy->plugin, "type", &type, NULL);
         if (g_strcmp0(type, plugin_type) == 0) {
             g_free(type);
             return proxy;
@@ -277,7 +277,7 @@ gsignond_plugin_proxy_new(GSignondConfig *config, const gchar* plugin_type)
     return NULL;
 }
 
-static 
+static void
 gsignond_plugin_proxy_process_queue(GSignondPluginProxy *self)
 {
     GSignondProcessData* next_data = g_queue_pop_head(self->session_queue);
index d741bcc..d4c2f13 100644 (file)
@@ -162,6 +162,7 @@ gsignond_password_plugin_get_property (GObject    *object,
                                        GParamSpec *pspec)
 {
     GSignondPasswordPlugin *password_plugin = GSIGNOND_PASSWORD_PLUGIN (object);
+    (void) password_plugin;
     gchar *mechanisms[] = { "password", NULL };
     
     switch (prop_id)