changeset 31899:1aa7d06e30c0

The id field is unused
author Mark Doliner <mark@kingant.net>
date Sun, 21 Aug 2011 18:00:53 +0000
parents 161df36133ae
children ce6ef84fb8a0
files libpurple/protocols/yahoo/libymsg.c
diffstat 1 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/libymsg.c	Sun Aug 21 17:28:17 2011 +0000
+++ b/libpurple/protocols/yahoo/libymsg.c	Sun Aug 21 18:00:53 2011 +0000
@@ -4038,16 +4038,15 @@
 		YahooPersonalDetails *ypd = &f->ypd;
 		int i;
 		struct {
-			char *id;
 			char *text;
 			char *value;
 		} yfields[] = {
-			{"hp", N_("Home Phone Number"), ypd->phone.home},
-			{"wp", N_("Work Phone Number"), ypd->phone.work},
-			{"mo", N_("Mobile Phone Number"), ypd->phone.mobile},
-			{NULL, NULL, NULL}
+			{N_("Home Phone Number"), ypd->phone.home},
+			{N_("Work Phone Number"), ypd->phone.work},
+			{N_("Mobile Phone Number"), ypd->phone.mobile},
+			{NULL, NULL}
 		};
-		for (i = 0; yfields[i].id; i++) {
+		for (i = 0; yfields[i].text; i++) {
 			if (!yfields[i].value || !*yfields[i].value)
 				continue;
 			purple_notify_user_info_add_pair(user_info, _(yfields[i].text), yfields[i].value);