diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-09-19 11:18:28 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-19 15:38:42 +0000 |
commit | 9f374b0a3c8283eb457ce29ade9c0f19643cd1f4 (patch) | |
tree | b448452d762a59636891bbb4fcc902d3dbd936c2 /tools | |
parent | d13f24c08debb293e794ba5a66dd449adf4bc2c8 (diff) | |
download | pdfium-9f374b0a3c8283eb457ce29ade9c0f19643cd1f4.tar.xz |
Cleanup FindNextBreakPos variables
The ePreType flag is only used if bFirst is true. After the first
iteration of the loop bFirst is always false. This CL removes the
updating of ePreType as it will never be used.
Also bFirst is only set false at the end of the loop and the do {} while is
changed into a while {}
Change-Id: Iaced1b38bddcc6f5483ae20993ac69c93b2e3f97
Reviewed-on: https://pdfium-review.googlesource.com/14292
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions