summaryrefslogtreecommitdiff
path: root/source/fitz/load-tiff.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/load-tiff.c')
-rw-r--r--source/fitz/load-tiff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/load-tiff.c b/source/fitz/load-tiff.c
index fbe84740..f473802b 100644
--- a/source/fitz/load-tiff.c
+++ b/source/fitz/load-tiff.c
@@ -781,7 +781,7 @@ fz_pixmap *
fz_load_tiff(fz_context *ctx, unsigned char *buf, int len)
{
fz_pixmap *image;
- struct tiff tiff;
+ struct tiff tiff = { 0 };
fz_try(ctx)
{
@@ -842,7 +842,7 @@ fz_load_tiff(fz_context *ctx, unsigned char *buf, int len)
void
fz_load_tiff_info(fz_context *ctx, unsigned char *buf, int len, int *wp, int *hp, int *xresp, int *yresp, fz_colorspace **cspacep)
{
- struct tiff tiff;
+ struct tiff tiff = { 0 };
fz_try(ctx)
{