# HG changeset patch # User Elliott Sales de Andrade # Date 1324539110 0 # Node ID 025230c2f7dd26cdd778d41364e788d15ebc7d56 # Parent 6ee168374b2b060ddb0ec7e851b3e5bec9cc13e5 Initialize parent_iter to prevent clang-analyzer from complaining. In fact, it's not a problem. If the node is not a group, then it has a group as a parent. If it is a group, then sort_method_none will be called, which checks node->parent before using the iter. But clang-analyzer can't know these things. diff -r 6ee168374b2b -r 025230c2f7dd pidgin/gtkblist.c --- a/pidgin/gtkblist.c Thu Dec 22 07:14:31 2011 +0000 +++ b/pidgin/gtkblist.c Thu Dec 22 07:31:50 2011 +0000 @@ -6225,7 +6225,7 @@ static gboolean insert_node(PurpleBuddyList *list, PurpleBlistNode *node, GtkTreeIter *iter) { - GtkTreeIter parent_iter, cur, *curptr = NULL; + GtkTreeIter parent_iter = {0, NULL, NULL, NULL}, cur, *curptr = NULL; struct _pidgin_blist_node *gtknode = purple_blist_node_get_ui_data(node); GtkTreePath *newpath;