# HG changeset patch # User Mark Doliner # Date 1165739343 0 # Node ID 3b4c0490b8b0f94300073d31e6ba398f0f158889 # Parent c0cacf27e5b8ceae8443973911ede8dd725d2cdd [gaim-migrate @ 17939] Compile warning fixes diff -r c0cacf27e5b8 -r 3b4c0490b8b0 libgaim/notify.h --- 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 diff -r c0cacf27e5b8 -r 3b4c0490b8b0 libgaim/protocols/irc/msgs.c --- 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) { diff -r c0cacf27e5b8 -r 3b4c0490b8b0 libgaim/protocols/jabber/chat.c --- 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))) diff -r c0cacf27e5b8 -r 3b4c0490b8b0 libgaim/protocols/yahoo/yahoo_profile.c --- 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;