diff options
author | Robin Watts <robin.watts@artifex.com> | 2013-09-13 15:47:58 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-09-13 16:02:32 +0100 |
commit | aefe6a511b3cb901034e5995fd882e334e40f2bb (patch) | |
tree | 74005b19d77e704480b2c7c43c3ed51c15b17dcf /source/pdf/pdf-image.c | |
parent | a0a92b5cf0fa076c923e7a5aa911dfff28aea351 (diff) | |
download | mupdf-aefe6a511b3cb901034e5995fd882e334e40f2bb.tar.xz |
Fix various compile warnings spotted by the cluster.
Diffstat (limited to 'source/pdf/pdf-image.c')
-rw-r--r-- | source/pdf/pdf-image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-image.c b/source/pdf/pdf-image.c index ef93d96b..f3f63d65 100644 --- a/source/pdf/pdf-image.c +++ b/source/pdf/pdf-image.c @@ -222,7 +222,7 @@ pdf_load_jpx(pdf_document *doc, pdf_obj *dict, int forcemask) img = fz_load_jpx(ctx, buf->data, buf->len, colorspace, indexed); - if (img && colorspace == NULL) + if (colorspace == NULL) colorspace = fz_keep_colorspace(ctx, img->colorspace); fz_drop_buffer(ctx, buf); |