summaryrefslogtreecommitdiff
path: root/glib/glist.c
diff options
context:
space:
mode:
Diffstat (limited to 'glib/glist.c')
-rw-r--r--glib/glist.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/glib/glist.c b/glib/glist.c
index a9aebff1f2..3ada548fba 100644
--- a/glib/glist.c
+++ b/glib/glist.c
@@ -389,9 +389,6 @@ g_list_insert_sorted (GList *list,
cmp = (*func) (data, tmp_list->data);
}
- if (cmp == 0)
- return list;
-
new_list = g_list_alloc();
new_list->data = data;