diff options
author | Paul Gardiner <paul.gardiner@artifex.com> | 2014-01-02 14:50:22 +0000 |
---|---|---|
committer | Paul Gardiner <paul.gardiner@artifex.com> | 2014-01-02 14:50:22 +0000 |
commit | f030651e6f4d79572b1daf2a480369d5d881645f (patch) | |
tree | 03c25cc61fd9e7b6b1598d93ea06498feb44febf | |
parent | be7bfed74b44def0c37d5a94d52d2c30ccf69b52 (diff) | |
download | mupdf-f030651e6f4d79572b1daf2a480369d5d881645f.tar.xz |
Bug 694569: suspicious for loop in pdf-device.c
Replace an explicit i = i by a comment in a for loop where i is
already at the correct starting value.
-rw-r--r-- | source/pdf/pdf-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-device.c b/source/pdf/pdf-device.c index 05c6f456..39c19627 100644 --- a/source/pdf/pdf-device.c +++ b/source/pdf/pdf-device.c @@ -712,7 +712,7 @@ pdf_dev_text(pdf_device *pdev, fz_text *text, float size) } fz_buffer_printf(pdev->ctx, gs->buf, "<"); - for (i = i; i < j; i++) + for (/* i from its current value */; i < j; i++) { /* FIXME: should use it->gid, rather than it->ucs, and convert * to the correct encoding */ |