diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-05-09 13:04:17 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-05-09 15:33:15 +0200 |
commit | cd0632e90df78ca269f56bccfd3019c292f9c315 (patch) | |
tree | 7ec151377e50501f02bfd39365b43f9c706583c5 /source | |
parent | 2eab9ab15c54e9a57c88cc73ab9f7f1206706ff4 (diff) | |
download | mupdf-cd0632e90df78ca269f56bccfd3019c292f9c315.tar.xz |
Remove incorrect assertion.
A 'null' pdf_obj is also NULL.
Diffstat (limited to 'source')
-rw-r--r-- | source/pdf/pdf-xref.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/pdf/pdf-xref.c b/source/pdf/pdf-xref.c index 0c72e0a7..9d32ea5e 100644 --- a/source/pdf/pdf-xref.c +++ b/source/pdf/pdf-xref.c @@ -2037,7 +2037,6 @@ pdf_obj * pdf_load_object(fz_context *ctx, pdf_document *doc, int num) { pdf_xref_entry *entry = pdf_cache_object(ctx, doc, num); - assert(entry->obj != NULL); return pdf_keep_obj(ctx, entry->obj); } |