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/pdf/pdf-xref.c | |
parent | ce82537df9e4b832213138d942be4482418b9e50 (diff) | |
download | mupdf-8a102a687f02c9c4014368877bffb3622c482c65.tar.xz |
Internal drop functions don't need to check for NULL.
Diffstat (limited to 'source/pdf/pdf-xref.c')
-rw-r--r-- | source/pdf/pdf-xref.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/pdf/pdf-xref.c b/source/pdf/pdf-xref.c index 814637b9..c46d9f52 100644 --- a/source/pdf/pdf-xref.c +++ b/source/pdf/pdf-xref.c @@ -1593,9 +1593,6 @@ pdf_drop_document_imp(fz_context *ctx, pdf_document *doc) { int i; - if (!doc) - return; - fz_try(ctx) { fz_defer_reap_start(ctx); |