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/fitz/draw-glyph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/fitz/draw-glyph.c') diff --git a/source/fitz/draw-glyph.c b/source/fitz/draw-glyph.c index 49ca6661..dacee540 100644 --- a/source/fitz/draw-glyph.c +++ b/source/fitz/draw-glyph.c @@ -413,7 +413,7 @@ unlock_and_return_val: fz_pixmap * fz_render_glyph_pixmap(fz_context *ctx, fz_font *font, int gid, fz_matrix *ctm, const fz_irect *scissor, int aa) { - fz_pixmap *val; + fz_pixmap *val = NULL; unsigned char qe, qf; fz_matrix subpix_ctm; float size = fz_subpixel_adjust(ctx, ctm, &subpix_ctm, &qe, &qf); -- cgit v1.2.3