From a27d9903ec238af6e4c1c59de1e1dae817b4f028 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Wed, 6 Sep 2017 20:16:16 +0200 Subject: Initialize variables to appease clang scan-build. --- source/html/html-doc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/html/html-doc.c') diff --git a/source/html/html-doc.c b/source/html/html-doc.c index 566aeac6..8cfa233f 100644 --- a/source/html/html-doc.c +++ b/source/html/html-doc.c @@ -171,7 +171,7 @@ static fz_document * htdoc_open_document(fz_context *ctx, const char *filename) { char dirname[2048]; - fz_buffer *buf; + fz_buffer *buf = NULL; html_document *doc; fz_dirname(dirname, filename, sizeof dirname); -- cgit v1.2.3