pidgin: 44ecf3f6: Get rid of a few other dead variables.

darkrain42 at pidgin.im darkrain42 at pidgin.im
Wed May 11 01:12:47 EDT 2011


----------------------------------------------------------------------
Revision: 44ecf3f613223b5a15eaaf2d491b367898d872aa
Parent:   be4048cf67877f0854ca049d70f8e92f0225bfe4
Author:   darkrain42 at pidgin.im
Date:     05/11/11 01:04:43
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/44ecf3f613223b5a15eaaf2d491b367898d872aa

Changelog: 

Get rid of a few other dead variables.

Changes against parent be4048cf67877f0854ca049d70f8e92f0225bfe4

  patched  libpurple/protocols/jabber/auth_cyrus.c
  patched  libpurple/protocols/jabber/bosh.c
  patched  libpurple/protocols/mxit/formcmds.c
  patched  libpurple/protocols/myspace/markup.c

-------------- next part --------------
============================================================
--- libpurple/protocols/myspace/markup.c	92c955efa24d6a1d5b9b08df73d38c48c8b660e8
+++ libpurple/protocols/myspace/markup.c	809f5065dbbd98bb820180792356de00ca50af10
@@ -600,7 +600,7 @@ msim_convert_xmlnode(MsimSession *sessio
 msim_convert_xmlnode(MsimSession *session, GString *out, xmlnode *root, MSIM_XMLNODE_CONVERT f, int nodes_processed)
 {
 	xmlnode *node;
-	gchar *begin, *inner, *end, *tmp;
+	gchar *begin, *end, *tmp;
 	int descended = nodes_processed;
 
 	if (!root || !root->name)
@@ -609,7 +609,7 @@ msim_convert_xmlnode(MsimSession *sessio
 	purple_debug_info("msim", "msim_convert_xmlnode: got root=%s\n",
 			root->name);
 
-	begin = inner = end = NULL;
+	begin = end = NULL;
 
 	if (descended == 0) /* We've not formatted this yet.. :) */
 		descended = f(session, root, &begin, &end); /* Get the value that our format function has already descended for us */
============================================================
--- libpurple/protocols/jabber/bosh.c	d38d958250a7e80f988e8594ef0bdbc60e285e9b
+++ libpurple/protocols/jabber/bosh.c	6fa708783871a0e610674fca66dab5210b099bec
@@ -804,7 +804,6 @@ jabber_bosh_http_connection_process(Purp
 		if (end_of_headers) {
 			conn->headers_done = TRUE;
 			conn->handled_len = end_of_headers - conn->read_buf->str + 4;
-			cursor = end_of_headers + 4;
 		} else {
 			conn->handled_len = conn->read_buf->len;
 			return;
============================================================
--- libpurple/protocols/jabber/auth_cyrus.c	26b1cc9c406dab09498c887bb8f72848290f96d1
+++ libpurple/protocols/jabber/auth_cyrus.c	57d143f0a0995911a79a1349ef220b987cbfaef3
@@ -174,7 +174,6 @@ auth_no_pass_cb(PurpleConnection *gc, Pu
 		return;
 
 	account = purple_connection_get_account(gc);
-	js = purple_connection_get_protocol_data(gc);
 
 	/* Disable the account as the user has cancelled connecting */
 	purple_account_set_enabled(account, purple_core_get_ui(), FALSE);
============================================================
--- libpurple/protocols/mxit/formcmds.c	3ed8fdfef2a7c1cfa22acd84350ad7e708ed919d
+++ libpurple/protocols/mxit/formcmds.c	cdc2c671161a59d653ff574e2f8ef7bd29f29e21
@@ -188,7 +188,6 @@ static GHashTable* command_tokenize(char
 {
 	GHashTable* hash	= NULL;
 	gchar**		parts;
-	gchar*		part;
 	int			i		= 0;
 
 #ifdef MXIT_DEBUG_COMMANDS
@@ -201,7 +200,7 @@ static GHashTable* command_tokenize(char
 	hash = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free);
 
 	/* now break part into a key & value */
-	while ((part = parts[i]) != NULL) {
+	while (parts[i] != NULL) {
 		char* value;
 
 		value = strchr(parts[i], '=');		/* find start of value */


More information about the Commits mailing list