diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-03-05 21:04:51 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-03-05 21:04:51 +0000 |
commit | 406b23d9350777514e499cefdc080212de596e8d (patch) | |
tree | 9d9e1c7e7719f29e400bbd72fb83306ad9f1b58f /fpdfsdk/fpdfdoc.cpp | |
parent | 31e08d1d6db10d22c1ba9f3f68773f8a88f05e3b (diff) | |
download | pdfium-406b23d9350777514e499cefdc080212de596e8d.tar.xz |
[formcalc] Cleanup m_error handling
This CL cleans up the setting of m_error. In most cases we don't need to
set m_error it will be set when we bubble up the nullptr return from the
various parse methods.
The m_error was set inconsitently previously and was confusing on if it
needed to be set or not.
Change-Id: I8648b6296ef15239bd2663e6543a960b88177721
Reviewed-on: https://pdfium-review.googlesource.com/27910
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfdoc.cpp')
0 files changed, 0 insertions, 0 deletions