summaryrefslogtreecommitdiff
path: root/source/cbz/mucbz.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2016-10-11 21:01:09 +0800
committerSebastian Rasmussen <sebras@gmail.com>2016-10-18 21:32:14 +0800
commit8a102a687f02c9c4014368877bffb3622c482c65 (patch)
treed5773b7edb0db0e24a9339585048f175a8fab078 /source/cbz/mucbz.c
parentce82537df9e4b832213138d942be4482418b9e50 (diff)
downloadmupdf-8a102a687f02c9c4014368877bffb3622c482c65.tar.xz
Internal drop functions don't need to check for NULL.
Diffstat (limited to 'source/cbz/mucbz.c')
-rw-r--r--source/cbz/mucbz.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/cbz/mucbz.c b/source/cbz/mucbz.c
index 9fa522c8..2caee490 100644
--- a/source/cbz/mucbz.c
+++ b/source/cbz/mucbz.c
@@ -144,8 +144,6 @@ cbz_run_page(fz_context *ctx, cbz_page *page, fz_device *dev, const fz_matrix *c
static void
cbz_drop_page(fz_context *ctx, cbz_page *page)
{
- if (!page)
- return;
fz_drop_image(ctx, page->image);
}