# HG changeset patch # User Luke Schierer # Date 1126551173 0 # Node ID 57439a383f4f2d34d8e6972e09fd9ed6e875f7dc # Parent bf763a1b2454dbb2d6381dd21f4d9bf1c0fa0ec6 [gaim-migrate @ 13781] these variables were now essentially unused, but they didn't cause warnings because of the line snprint line. committer: Tailor Script diff -r bf763a1b2454 -r 57439a383f4f src/protocols/jabber/buddy.c --- 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); diff -r bf763a1b2454 -r 57439a383f4f src/protocols/oscar/oscar.c --- 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;