changeset 12733:b6577059c9e5

[gaim-migrate @ 15077] jabber.c:389: warning: ISO C90 forbids mixed declarations and code committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 05 Jan 2006 05:29:51 +0000
parents 7648dce3e356
children 0f499f27b29a
files src/protocols/bonjour/jabber.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/bonjour/jabber.c	Thu Jan 05 05:18:58 2006 +0000
+++ b/src/protocols/bonjour/jabber.c	Thu Jan 05 05:29:51 2006 +0000
@@ -372,6 +372,7 @@
 	BonjourBuddy *bb = NULL;
 	char *address_text = NULL;
 	GaimBuddyList *bl = gaim_get_blist();
+	struct _check_buddy_by_address_t *cbba;
 
 	/* Check that it is a read condition */
 	if (condition != GAIM_INPUT_READ) {
@@ -386,7 +387,7 @@
 
 	/* Look for the buddy that has open the conversation and fill information */
 	address_text = inet_ntoa(their_addr.sin_addr);
-	struct _check_buddy_by_address_t *cbba = g_new0(struct _check_buddy_by_address_t, 1);
+	cbba = g_new0(struct _check_buddy_by_address_t, 1);
 	cbba->address = address_text;
 	cbba->gb = &gb;
 	g_hash_table_foreach(bl->buddies, _check_buddy_by_address, address_text);