summaryrefslogtreecommitdiff
path: root/source/fitz/load-pnm.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/load-pnm.c')
-rw-r--r--source/fitz/load-pnm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/load-pnm.c b/source/fitz/load-pnm.c
index 9e38dcbd..36493823 100644
--- a/source/fitz/load-pnm.c
+++ b/source/fitz/load-pnm.c
@@ -628,7 +628,7 @@ pnm_read_image(fz_context *ctx, struct info *pnm, unsigned char *p, size_t total
fz_pixmap *
fz_load_pnm(fz_context *ctx, unsigned char *p, size_t total)
{
- fz_pixmap *img;
+ fz_pixmap *img = NULL;
struct info pnm = { 0 };
fz_try(ctx)