From 47078209046ed26ff7828a73d5d43afe08a6941d Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Wed, 23 Mar 2016 07:40:48 -0700 Subject: Bug 696630: Avoid needless (and potentially wrong) dereference. --- source/fitz/path.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/fitz') diff --git a/source/fitz/path.c b/source/fitz/path.c index 815a07b0..f99cb650 100644 --- a/source/fitz/path.c +++ b/source/fitz/path.c @@ -584,8 +584,8 @@ void fz_walk_path(fz_context *ctx, const fz_path *path, const fz_path_walker *pr { int i, k, cmd_len; float x, y, sx, sy; - uint8_t *cmds = path->cmds; - float *coords = path->coords; + uint8_t *cmds; + float *coords; switch (path->packed) { -- cgit v1.2.3