Mercurial > pidgin.yaz
changeset 11532:57439a383f4f
[gaim-migrate @ 13781]
these variables were now essentially unused, but they didn't cause
warnings because of the line snprint line.
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 12 Sep 2005 18:52:53 +0000 |
parents | bf763a1b2454 |
children | c9b815aeddc1 |
files | src/protocols/jabber/buddy.c src/protocols/oscar/oscar.c |
diffstat | 2 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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;