summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-stream.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2017-09-06 20:16:16 +0200
committerSebastian Rasmussen <sebras@gmail.com>2017-09-07 20:40:38 +0800
commita27d9903ec238af6e4c1c59de1e1dae817b4f028 (patch)
treeedab5a190abb4ee105d74e19cf5dc479fadf109a /source/pdf/pdf-stream.c
parentb096bed7b44f187eaacd8d8ee5f53a67d4aedda2 (diff)
downloadmupdf-a27d9903ec238af6e4c1c59de1e1dae817b4f028.tar.xz
Initialize variables to appease clang scan-build.
Diffstat (limited to 'source/pdf/pdf-stream.c')
-rw-r--r--source/pdf/pdf-stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-stream.c b/source/pdf/pdf-stream.c
index 3650bd66..2cb54183 100644
--- a/source/pdf/pdf-stream.c
+++ b/source/pdf/pdf-stream.c
@@ -443,7 +443,7 @@ pdf_load_raw_stream_number(fz_context *ctx, pdf_document *doc, int num)
fz_stream *stm;
pdf_obj *dict;
int len;
- fz_buffer *buf;
+ fz_buffer *buf = NULL;
pdf_xref_entry *x;
if (num > 0 && num < pdf_xref_len(ctx, doc))