[gaim-migrate @ 13781]

Mon, 12 Sep 2005 18:52:53 +0000

author
Luke Schierer <lschiere@pidgin.im>
date
Mon, 12 Sep 2005 18:52:53 +0000
changeset 11532
b069bbab16be
parent 11531
63c017cfd8d2
child 11533
f58436975d44

[gaim-migrate @ 13781]
these variables were now essentially unused, but they didn't cause
warnings because of the line snprint line.

src/protocols/jabber/buddy.c file | annotate | diff | comparison | revisions
src/protocols/oscar/oscar.c file | annotate | diff | comparison | revisions
--- a/src/protocols/jabber/buddy.c	Mon Sep 12 18:46:15 2005 +0000
+++ b/src/protocols/jabber/buddy.c	Mon Sep 12 18:52:53 2005 +0000
@@ -591,7 +591,6 @@
 	GString *info_text;
 	char *resource_name;
 	char *bare_jid;
-	char *title;
 	char *text;
 	xmlnode *vcard;
 	GaimBuddy *b;
@@ -850,8 +849,6 @@
 		}
 	}
 
-	title = g_strdup_printf("User info for %s", from);
-
 	text = gaim_strdup_withhtml(info_text->str);
 
 	gaim_notify_userinfo(js->gc, from, _("Jabber Profile"),
@@ -861,7 +858,6 @@
 		gaim_imgstore_unref(GPOINTER_TO_INT(imgids->data));
 		imgids = g_slist_delete_link(imgids, imgids);
 	}
-	g_free(title);
 	g_string_free(info_text, TRUE);
 	g_free(text);
 	g_free(bare_jid);
--- a/src/protocols/oscar/oscar.c	Mon Sep 12 18:46:15 2005 +0000
+++ b/src/protocols/oscar/oscar.c	Mon Sep 12 18:52:53 2005 +0000
@@ -5047,7 +5047,7 @@
 	GaimAccount *account = gaim_connection_get_account(gc);
 	OscarData *od = gc->proto_data;
 	GString *str;
-	gchar *tmp = NULL, *info_utf8 = NULL, *away_utf8 = NULL, *title = NULL;
+	gchar *tmp = NULL, *info_utf8 = NULL, *away_utf8 = NULL;
 	va_list ap;
 	aim_userinfo_t *userinfo;
 
@@ -5099,9 +5099,7 @@
 
 	tmp = gaim_str_sub_away_formatters(str->str, gaim_account_get_username(account));
 	g_string_free(str, TRUE);
-	title = g_strdup_printf(_("Info for %s"), userinfo->sn);
 	gaim_notify_userinfo(gc, userinfo->sn, _("Buddy Information"), NULL, tmp, NULL, NULL);
-	g_free(title);
 	g_free(tmp);
 
 	return 1;

mercurial