summaryrefslogtreecommitdiff
path: root/source/cbz/mutiff.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/mutiff.c
parentce82537df9e4b832213138d942be4482418b9e50 (diff)
downloadmupdf-8a102a687f02c9c4014368877bffb3622c482c65.tar.xz
Internal drop functions don't need to check for NULL.
Diffstat (limited to 'source/cbz/mutiff.c')
-rw-r--r--source/cbz/mutiff.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/cbz/mutiff.c b/source/cbz/mutiff.c
index 7817eb16..44f55c7c 100644
--- a/source/cbz/mutiff.c
+++ b/source/cbz/mutiff.c
@@ -49,8 +49,6 @@ tiff_run_page(fz_context *ctx, tiff_page *page, fz_device *dev, const fz_matrix
static void
tiff_drop_page(fz_context *ctx, tiff_page *page)
{
- if (!page)
- return;
fz_drop_image(ctx, page->image);
}