summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2017-10-04 17:49:29 +0200
committerSebastian Rasmussen <sebras@gmail.com>2017-10-04 17:50:40 +0200
commit987f73ca0c196489782f44b18e3cb09df074d502 (patch)
tree2ad800c7090a0b5240909fa563248de8ee82fc33 /source
parent80e021dcc5aefd48277697db817c65142e182403 (diff)
downloadmupdf-987f73ca0c196489782f44b18e3cb09df074d502.tar.xz
Mark another variable fz_var(), avoiding optimization.
This really should have been part of commit 0ef7cb983c4325156e08525381542ae3ada04720.
Diffstat (limited to 'source')
-rw-r--r--source/pdf/pdf-stream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/pdf/pdf-stream.c b/source/pdf/pdf-stream.c
index 30c7fbbc..c7bf5285 100644
--- a/source/pdf/pdf-stream.c
+++ b/source/pdf/pdf-stream.c
@@ -303,6 +303,8 @@ pdf_open_raw_filter(fz_context *ctx, fz_stream *chain, pdf_document *doc, pdf_ob
*orig_gen = 0;
}
+ fz_var(chain);
+
fz_try(ctx)
{
len = pdf_to_int(ctx, pdf_dict_get(ctx, stmobj, PDF_NAME_Length));