diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-02-06 09:34:23 -0800 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-02-06 17:56:54 +0000 |
commit | 3c056ae5599be463216fb1883c710157f019acc2 (patch) | |
tree | 69910ca9c32e06600adbe28bb0cdb0dc50245a64 /xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp | |
parent | e5f4f22e4c67f40123bca91c2213223cc5a12ebd (diff) | |
download | pdfium-3c056ae5599be463216fb1883c710157f019acc2.tar.xz |
Remove redundant tests exposed by inlining macros in fxbarcode
Remove some unused #defines as well.
Change-Id: Ie7dc1ae85100eae24f18a3ecd456e3c8d8043a43
Reviewed-on: https://pdfium-review.googlesource.com/2490
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp')
-rw-r--r-- | xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp b/xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp index e37d62e112..a0bbc025c4 100644 --- a/xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp +++ b/xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp @@ -42,8 +42,7 @@ void CBC_ReedSolomonGF256Poly::Init(CBC_ReedSolomonGF256* field, int32_t& e) { if (!coefficients || coefficients->GetSize() == 0) { e = BCExceptionCoefficientsSizeIsNull; - if (e != BCExceptionNO) - return; + return; } m_field = field; int32_t coefficientsLength = coefficients->GetSize(); |