diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2011-03-17 02:51:15 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-03-17 19:54:34 +0800 |
commit | 88e09c99733982de201c3c1cfbf4742a0e8662b1 (patch) | |
tree | de0f99c45903453a776091f69be212125c4f6688 /libempathy | |
parent | 95a0ab7d884a6500cfba6ff63fea73269faec0da (diff) | |
download | gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar.gz gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar.bz2 gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar.lz gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar.xz gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar.zst gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.zip |
Fix warnings from GCC 4.6 about variables that are set but not used.
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-auth-factory.c | 2 | ||||
-rw-r--r-- | libempathy/empathy-chatroom-manager.c | 4 | ||||
-rw-r--r-- | libempathy/empathy-chatroom.c | 4 | ||||
-rw-r--r-- | libempathy/empathy-ft-handler.c | 3 | ||||
-rw-r--r-- | libempathy/empathy-individual-manager.c | 6 | ||||
-rw-r--r-- | libempathy/empathy-irc-network-manager.c | 3 |
6 files changed, 0 insertions, 22 deletions
diff --git a/libempathy/empathy-auth-factory.c b/libempathy/empathy-auth-factory.c index 03d720744..02a86861f 100644 --- a/libempathy/empathy-auth-factory.c +++ b/libempathy/empathy-auth-factory.c @@ -92,10 +92,8 @@ server_tls_handler_ready_cb (GObject *source, { EmpathyServerTLSHandler *handler; GError *error = NULL; - EmpathyAuthFactoryPriv *priv; HandlerContextData *data = user_data; - priv = GET_PRIV (data->self); handler = empathy_server_tls_handler_new_finish (res, &error); if (error != NULL) diff --git a/libempathy/empathy-chatroom-manager.c b/libempathy/empathy-chatroom-manager.c index aea8684a5..dd7ef460e 100644 --- a/libempathy/empathy-chatroom-manager.c +++ b/libempathy/empathy-chatroom-manager.c @@ -669,13 +669,9 @@ gboolean empathy_chatroom_manager_add (EmpathyChatroomManager *manager, EmpathyChatroom *chatroom) { - EmpathyChatroomManagerPriv *priv; - g_return_val_if_fail (EMPATHY_IS_CHATROOM_MANAGER (manager), FALSE); g_return_val_if_fail (EMPATHY_IS_CHATROOM (chatroom), FALSE); - priv = GET_PRIV (manager); - /* don't add more than once */ if (!empathy_chatroom_manager_find (manager, empathy_chatroom_get_account (chatroom), diff --git a/libempathy/empathy-chatroom.c b/libempathy/empathy-chatroom.c index 5e3784ae7..7e060766f 100644 --- a/libempathy/empathy-chatroom.c +++ b/libempathy/empathy-chatroom.c @@ -273,10 +273,6 @@ chatroom_set_property (GObject *object, const GValue *value, GParamSpec *pspec) { - EmpathyChatroomPriv *priv; - - priv = GET_PRIV (object); - switch (param_id) { case PROP_ACCOUNT: empathy_chatroom_set_account (EMPATHY_CHATROOM (object), diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c index 751328e24..1c3f4209e 100644 --- a/libempathy/empathy-ft-handler.c +++ b/libempathy/empathy-ft-handler.c @@ -881,11 +881,8 @@ do_hash_job (GIOSchedulerJob *job, { HashingData *hash_data = user_data; gssize bytes_read; - EmpathyFTHandlerPriv *priv; GError *error = NULL; - priv = GET_PRIV (hash_data->handler); - again: if (hash_data->buffer == NULL) hash_data->buffer = g_malloc0 (BUFFER_SIZE); diff --git a/libempathy/empathy-individual-manager.c b/libempathy/empathy-individual-manager.c index 861cfa123..bbd511558 100644 --- a/libempathy/empathy-individual-manager.c +++ b/libempathy/empathy-individual-manager.c @@ -500,13 +500,10 @@ gboolean empathy_individual_manager_supports_blocking (EmpathyIndividualManager *self, FolksIndividual *individual) { - EmpathyIndividualManagerPriv *priv; GList *personas, *l; g_return_val_if_fail (EMPATHY_IS_INDIVIDUAL_MANAGER (self), FALSE); - priv = GET_PRIV (self); - personas = folks_individual_get_personas (individual); for (l = personas; l != NULL; l = l->next) @@ -537,13 +534,10 @@ empathy_individual_manager_set_blocked (EmpathyIndividualManager *self, gboolean blocked, gboolean abusive) { - EmpathyIndividualManagerPriv *priv; GList *personas, *l; g_return_if_fail (EMPATHY_IS_INDIVIDUAL_MANAGER (self)); - priv = GET_PRIV (self); - personas = folks_individual_get_personas (individual); for (l = personas; l != NULL; l = l->next) diff --git a/libempathy/empathy-irc-network-manager.c b/libempathy/empathy-irc-network-manager.c index 691c05df5..6d7ff1c3d 100644 --- a/libempathy/empathy-irc-network-manager.c +++ b/libempathy/empathy-irc-network-manager.c @@ -617,14 +617,11 @@ irc_network_manager_file_parse (EmpathyIrcNetworkManager *self, const gchar *filename, gboolean user_defined) { - EmpathyIrcNetworkManagerPriv *priv; xmlParserCtxtPtr ctxt; xmlDocPtr doc; xmlNodePtr networks; xmlNodePtr node; - priv = GET_PRIV (self); - DEBUG ("Attempting to parse file:'%s'...", filename); ctxt = xmlNewParserCtxt (); |