changeset 15246:d5e7690a9b06

[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 committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 21 Dec 2006 08:14:05 +0000
parents ebe19ec7c78c
children c9b56198e8db
files gtk/gtkblist.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)
 	{