summaryrefslogtreecommitdiff
path: root/source/fitz/draw-device.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/fitz/draw-device.c
parentb096bed7b44f187eaacd8d8ee5f53a67d4aedda2 (diff)
downloadmupdf-a27d9903ec238af6e4c1c59de1e1dae817b4f028.tar.xz
Initialize variables to appease clang scan-build.
Diffstat (limited to 'source/fitz/draw-device.c')
-rw-r--r--source/fitz/draw-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/draw-device.c b/source/fitz/draw-device.c
index ce825eca..3a5ae1db 100644
--- a/source/fitz/draw-device.c
+++ b/source/fitz/draw-device.c
@@ -2600,7 +2600,7 @@ fz_new_draw_device_with_options(fz_context *ctx, const fz_draw_options *opts, co
fz_rect bounds;
fz_irect ibounds;
fz_matrix transform;
- fz_device *dev;
+ fz_device *dev = NULL;
fz_aa_context aa = *ctx->aa;
fz_set_rasterizer_graphics_aa_level(ctx, &aa, opts->graphics);