summaryrefslogtreecommitdiff
path: root/source/cbz
diff options
context:
space:
mode:
Diffstat (limited to 'source/cbz')
-rw-r--r--source/cbz/mucbz.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/cbz/mucbz.c b/source/cbz/mucbz.c
index bbc8a5fe..5247a4ee 100644
--- a/source/cbz/mucbz.c
+++ b/source/cbz/mucbz.c
@@ -163,14 +163,6 @@ cbz_read_zip_entry(cbz_document *doc, int offset, int *sizep)
return NULL; /* not reached */
}
-static int
-cbz_compare_entries(const void *a_, const void *b_)
-{
- const cbz_entry *a = a_;
- const cbz_entry *b = b_;
- return strcmp(a->name, b->name);
-}
-
static void
cbz_read_zip_dir_imp(cbz_document *doc, int startoffset)
{
@@ -231,8 +223,6 @@ cbz_read_zip_dir_imp(cbz_document *doc, int startoffset)
fz_seek(file, commentsize, 1);
}
- qsort(doc->entry, count, sizeof(cbz_entry), cbz_compare_entries);
-
doc->page_count = 0;
doc->page = fz_malloc_array(ctx, count, sizeof(int));