pidgin/pidgin

Make return clearer

2019-10-14, qarkai
9d1bba237532
Parents d5a45db279db
Children 4f56e8dc46eb
Make return clearer
--- 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