[gaim-migrate @ 17939]

Sun, 10 Dec 2006 08:29:03 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Sun, 10 Dec 2006 08:29:03 +0000
changeset 15215
3b4c0490b8b0
parent 15214
c0cacf27e5b8
child 15216
2859ff89476d

[gaim-migrate @ 17939]
Compile warning fixes

libgaim/notify.h file | annotate | diff | comparison | revisions
libgaim/protocols/irc/msgs.c file | annotate | diff | comparison | revisions
libgaim/protocols/jabber/chat.c file | annotate | diff | comparison | revisions
libgaim/protocols/yahoo/yahoo_profile.c file | annotate | diff | comparison | revisions
--- 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;

mercurial