Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/message.c @ 24866:fec1e38cb330
Fix a compiler warning:
message.c: In function ¡Æhandle_buzz¡Ç:
message.c:317: warning: ¡Æstr¡Ç may be used uninitialized in this function
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 02 Jan 2009 22:41:11 +0000 |
parents | 689cfb82242e |
children | a50545e37a7a 1d1d1829de11 c56debe9ae4f 533a51295cbb af5c36fe8d6f |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/message.c Fri Jan 02 07:43:30 2009 +0000 +++ b/libpurple/protocols/jabber/message.c Fri Jan 02 22:41:11 2009 +0000 @@ -290,7 +290,7 @@ PurpleBuddy *buddy; PurpleAccount *account; PurpleConversation *c; - char *username, *str; + char *username; /* Delayed buzz MUST NOT be accepted */ if(jm->delayed) @@ -314,7 +314,6 @@ purple_prpl_got_attention(jm->js->gc, username, 0); g_free(username); - g_free(str); } /* used internally by the functions below */