changeset 15154:38cdfbb371b1

[gaim-migrate @ 17939] Compile warning fixes committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 10 Dec 2006 08:29:03 +0000
parents be2feab10c71
children 7696f5dec7d8
files libgaim/notify.h libgaim/protocols/irc/msgs.c libgaim/protocols/jabber/chat.c libgaim/protocols/yahoo/yahoo_profile.c
diffstat 4 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libgaim/notify.h	Sun Dec 10 08:18:49 2006 +0000
+++ b/libgaim/notify.h	Sun Dec 10 08:29:03 2006 +0000
@@ -432,7 +432,7 @@
  *
  * @return A new GaimNotifyUserInfo, which the caller must destroy when done
  */
-GaimNotifyUserInfo *gaim_notify_user_info_new();
+GaimNotifyUserInfo *gaim_notify_user_info_new(void);
 
 /**
  * Destroy a GaimNotifyUserInfo
--- a/libgaim/protocols/irc/msgs.c	Sun Dec 10 08:18:49 2006 +0000
+++ b/libgaim/protocols/irc/msgs.c	Sun Dec 10 08:29:03 2006 +0000
@@ -198,8 +198,7 @@
 void irc_msg_endwhois(struct irc_conn *irc, const char *name, const char *from, char **args)
 {
 	GaimConnection *gc;
-	GString *info;
-	char *str, *tmp, *tmp2;
+	char *tmp, *tmp2;
 	GaimNotifyUserInfo *user_info;
 
 	if (!irc->whois.nick) {
--- a/libgaim/protocols/jabber/chat.c	Sun Dec 10 08:18:49 2006 +0000
+++ b/libgaim/protocols/jabber/chat.c	Sun Dec 10 08:29:03 2006 +0000
@@ -954,7 +954,7 @@
 static void jabber_chat_disco_traffic_cb(JabberStream *js, xmlnode *packet, gpointer data)
 {
 	JabberChat *chat;
-	xmlnode *query, *x;
+	xmlnode *query;
 	int id = GPOINTER_TO_INT(data);
 
 	if(!(chat = jabber_chat_find_by_id(js, id)))
--- a/libgaim/protocols/yahoo/yahoo_profile.c	Sun Dec 10 08:18:49 2006 +0000
+++ b/libgaim/protocols/yahoo/yahoo_profile.c	Sun Dec 10 08:29:03 2006 +0000
@@ -743,7 +743,6 @@
 	YahooGetInfoData *info_data = (YahooGetInfoData *)user_data;
 	GaimNotifyUserInfo *user_info;
 	char *p;
-	char buf[1024];
 #if PHOTO_SUPPORT
 	YahooGetInfoStepTwoData *info2_data;
 	char *photo_url_text = NULL;