[gaim-migrate @ 18035]

Thu, 21 Dec 2006 08:14:05 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Thu, 21 Dec 2006 08:14:05 +0000
changeset 15307
57f6de61c714
parent 15306
b4bb51751de0
child 15308
2bfe4510454e

[gaim-migrate @ 18035]
Get rid of a compile warning:
gtkblist.c: In function ‘redo_buddy_list’:
gtkblist.c:4378: warning: ISO C90 forbids mixed declarations and code

gtk/gtkblist.c file | annotate | diff | comparison | revisions
--- a/gtk/gtkblist.c	Thu Dec 21 00:40:21 2006 +0000
+++ b/gtk/gtkblist.c	Thu Dec 21 08:14:05 2006 +0000
@@ -4371,11 +4371,13 @@
 
 static void redo_buddy_list(GaimBuddyList *list, gboolean remove, gboolean rerender)
 {
+	GaimBlistNode *node;
+
 	gtkblist = GAIM_GTK_BLIST(list);
 	if(!gtkblist || !gtkblist->treeview)
 		return;
 
-	GaimBlistNode *node = list->root;
+	node = list->root;
 
 	while (node)
 	{

mercurial