summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2016-03-23 07:40:48 -0700
committerRobin Watts <robin.watts@artifex.com>2016-03-23 14:59:51 +0000
commit47078209046ed26ff7828a73d5d43afe08a6941d (patch)
treefabff0003c71d105f75b17230c4133a541dfbe26 /source
parenta236e7d8af47f25d854c566b5bce29e4b4dcd46d (diff)
downloadmupdf-47078209046ed26ff7828a73d5d43afe08a6941d.tar.xz
Bug 696630: Avoid needless (and potentially wrong) dereference.
Diffstat (limited to 'source')
-rw-r--r--source/fitz/path.c4
1 files changed, 2 insertions, 2 deletions
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)
{