diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2018-05-07 12:36:50 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2018-05-07 12:36:50 +0800 |
commit | b72cf33e3681bdcd488fa5a580466e28766475fb (patch) | |
tree | c7dca7532ee011b8be37ed5f214a8fdc7ecdcb83 /source | |
parent | bd88b96f7b7b21d64d4fb32a2674653a08f8cb38 (diff) | |
download | mupdf-b72cf33e3681bdcd488fa5a580466e28766475fb.tar.xz |
pnm: Remember to always initialize variable.
Diffstat (limited to 'source')
-rw-r--r-- | source/fitz/load-pnm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/load-pnm.c b/source/fitz/load-pnm.c index 36842eda..be7a6232 100644 --- a/source/fitz/load-pnm.c +++ b/source/fitz/load-pnm.c @@ -686,7 +686,7 @@ pnm_read_image(fz_context *ctx, struct info *pnm, const unsigned char *p, size_t { const unsigned char *e = p + total; char signature[3] = { 0 }; - fz_pixmap *pix; + fz_pixmap *pix = NULL; while (p < e && ((!onlymeta && subimage >= 0) || onlymeta)) { |