summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-05-09 13:04:17 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-05-09 15:33:15 +0200
commitcd0632e90df78ca269f56bccfd3019c292f9c315 (patch)
tree7ec151377e50501f02bfd39365b43f9c706583c5 /source
parent2eab9ab15c54e9a57c88cc73ab9f7f1206706ff4 (diff)
downloadmupdf-cd0632e90df78ca269f56bccfd3019c292f9c315.tar.xz
Remove incorrect assertion.
A 'null' pdf_obj is also NULL.
Diffstat (limited to 'source')
-rw-r--r--source/pdf/pdf-xref.c1
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);
}