diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2017-09-06 20:16:16 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2017-09-07 20:40:38 +0800 |
commit | a27d9903ec238af6e4c1c59de1e1dae817b4f028 (patch) | |
tree | edab5a190abb4ee105d74e19cf5dc479fadf109a /source/xps/xps-zip.c | |
parent | b096bed7b44f187eaacd8d8ee5f53a67d4aedda2 (diff) | |
download | mupdf-a27d9903ec238af6e4c1c59de1e1dae817b4f028.tar.xz |
Initialize variables to appease clang scan-build.
Diffstat (limited to 'source/xps/xps-zip.c')
-rw-r--r-- | source/xps/xps-zip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/xps/xps-zip.c b/source/xps/xps-zip.c index a17894ea..c528b94e 100644 --- a/source/xps/xps-zip.c +++ b/source/xps/xps-zip.c @@ -160,7 +160,7 @@ xps_open_document(fz_context *ctx, const char *filename) char buf[2048]; fz_stream *file; char *p; - fz_document *doc; + fz_document *doc = NULL; if (strstr(filename, "/_rels/.rels") || strstr(filename, "\\_rels\\.rels")) { |