pidgin/gtkaccount.c

changeset 40046
9d1bba237532
parent 40043
90446617d967
child 40137
016690872c6c
--- a/pidgin/gtkaccount.c	Mon Oct 14 00:38:59 2019 +0300
+++ b/pidgin/gtkaccount.c	Mon Oct 14 00:40:05 2019 +0300
@@ -2208,7 +2208,6 @@
 populate_accounts_list(AccountsWindow *dialog)
 {
 	GList *l;
-	gboolean ret = FALSE;
 	GdkPixbuf *global_buddyicon = NULL;
 	const char *path;
 
@@ -2223,13 +2222,12 @@
 	}
 
 	l = purple_accounts_get_all();
-	ret = l != NULL;
 	g_list_foreach(l, (GFunc)add_account_to_liststore, global_buddyicon);
 
 	if (global_buddyicon != NULL)
 		g_object_unref(G_OBJECT(global_buddyicon));
 
-	return ret;
+	return l != NULL;
 }
 
 static void

mercurial