changeset 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 b26e8a41a937
children 60ae522a239a 991796129108 f0c2e27c7ae7
files libpurple/protocols/jabber/message.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
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 */