diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2016-10-11 21:01:09 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2016-10-18 21:32:14 +0800 |
commit | 8a102a687f02c9c4014368877bffb3622c482c65 (patch) | |
tree | d5773b7edb0db0e24a9339585048f175a8fab078 /source/xps/xps-zip.c | |
parent | ce82537df9e4b832213138d942be4482418b9e50 (diff) | |
download | mupdf-8a102a687f02c9c4014368877bffb3622c482c65.tar.xz |
Internal drop functions don't need to check for NULL.
Diffstat (limited to 'source/xps/xps-zip.c')
-rw-r--r-- | source/xps/xps-zip.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/xps/xps-zip.c b/source/xps/xps-zip.c index 6874a3b4..aea42216 100644 --- a/source/xps/xps-zip.c +++ b/source/xps/xps-zip.c @@ -198,9 +198,6 @@ xps_drop_document(fz_context *ctx, xps_document *doc) { xps_font_cache *font, *next; - if (!doc) - return; - if (doc->zip) fz_drop_archive(ctx, doc->zip); |