summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdf_flatten.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-09-19 11:18:28 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-09-19 15:38:42 +0000
commit9f374b0a3c8283eb457ce29ade9c0f19643cd1f4 (patch)
treeb448452d762a59636891bbb4fcc902d3dbd936c2 /fpdfsdk/fpdf_flatten.cpp
parentd13f24c08debb293e794ba5a66dd449adf4bc2c8 (diff)
downloadpdfium-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 'fpdfsdk/fpdf_flatten.cpp')
0 files changed, 0 insertions, 0 deletions