diff options
author | Robin Watts <robin.watts@artifex.com> | 2013-09-13 15:47:58 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-09-13 16:02:32 +0100 |
commit | aefe6a511b3cb901034e5995fd882e334e40f2bb (patch) | |
tree | 74005b19d77e704480b2c7c43c3ed51c15b17dcf /source/fitz/draw-device.c | |
parent | a0a92b5cf0fa076c923e7a5aa911dfff28aea351 (diff) | |
download | mupdf-aefe6a511b3cb901034e5995fd882e334e40f2bb.tar.xz |
Fix various compile warnings spotted by the cluster.
Diffstat (limited to 'source/fitz/draw-device.c')
-rw-r--r-- | source/fitz/draw-device.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/fitz/draw-device.c b/source/fitz/draw-device.c index 79886405..bcd93edb 100644 --- a/source/fitz/draw-device.c +++ b/source/fitz/draw-device.c @@ -1482,7 +1482,7 @@ fz_draw_begin_group(fz_device *devp, const fz_rect *rect, int isolated, int knoc { fz_draw_device *dev = devp->user; fz_irect bbox; - fz_pixmap *dest, *shape; + fz_pixmap *dest; fz_context *ctx = dev->ctx; fz_draw_state *state = &dev->stack[dev->top]; fz_colorspace *model = state->dest->colorspace; @@ -1515,12 +1515,12 @@ fz_draw_begin_group(fz_device *devp, const fz_rect *rect, int isolated, int knoc { /* We can render direct to any existing shape plane. * If there isn't one, we don't need to make one. */ - state[1].shape =shape = state[0].shape; + state[1].shape = state[0].shape; } else { - state[1].shape = shape = fz_new_pixmap_with_bbox(ctx, NULL, &bbox); - fz_clear_pixmap(dev->ctx, shape); + state[1].shape = fz_new_pixmap_with_bbox(ctx, NULL, &bbox); + fz_clear_pixmap(dev->ctx, state[1].shape); } state[1].alpha = alpha; |