libpurple/protocols/jabber/message.c

changeset 30626
bec413ce77c7
parent 30583
2482f350d8f5
child 30744
8727d5a82a46
--- a/libpurple/protocols/jabber/message.c	Sat Aug 14 03:55:19 2010 +0000
+++ b/libpurple/protocols/jabber/message.c	Sat Aug 14 05:17:38 2010 +0000
@@ -296,7 +296,6 @@
 }
 
 static void handle_buzz(JabberMessage *jm) {
-	PurpleBuddy *buddy;
 	PurpleAccount *account;
 
 	/* Delayed buzz MUST NOT be accepted */
@@ -309,7 +308,7 @@
 
 	account = purple_connection_get_account(jm->js->gc);
 
-	if ((buddy = purple_find_buddy(account, jm->from)) == NULL)
+	if (purple_find_buddy(account, jm->from) == NULL)
 		return; /* Do not accept buzzes from unknown people */
 
 	/* xmpp only has 1 attention type, so index is 0 */

mercurial