diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-11-05 08:46:13 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-11-05 08:46:13 -0800 |
commit | 5570d23890cc7bae4903a29fbcf8ac543ba1a2c7 (patch) | |
tree | 9077948b2f9c187ecc3df125e79a1610db5ce1b7 /xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp | |
parent | cd39695e618374ae0cfb4d3467602fd9a5365c55 (diff) | |
download | pdfium-5570d23890cc7bae4903a29fbcf8ac543ba1a2c7.tar.xz |
Fix XFA compilation warnings, part 2
Mostly unused variables, unused private members, or
initialization order. Added a few missing initializers
for pointer members along the way.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1414903004 .
Diffstat (limited to 'xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp')
-rw-r--r-- | xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp b/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp index 43bd696379..99484493f3 100644 --- a/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp +++ b/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp @@ -37,15 +37,14 @@ const int32_t CBC_OnedCode39Reader::CHARACTER_ENCODINGS[44] = { 0x085, 0x184, 0x0C4, 0x094, 0x0A8, 0x0A2, 0x08A, 0x02A};
const int32_t CBC_OnedCode39Reader::ASTERISK_ENCODING = 0x094;
CBC_OnedCode39Reader::CBC_OnedCode39Reader()
- : m_extendedMode(FALSE), m_usingCheckDigit(FALSE) {}
-CBC_OnedCode39Reader::CBC_OnedCode39Reader(FX_BOOL usingCheckDigit) {
- m_usingCheckDigit = usingCheckDigit;
- m_extendedMode = FALSE;
+ : m_usingCheckDigit(FALSE), m_extendedMode(FALSE) {
+}
+CBC_OnedCode39Reader::CBC_OnedCode39Reader(FX_BOOL usingCheckDigit)
+ : m_usingCheckDigit(usingCheckDigit), m_extendedMode(FALSE) {
}
CBC_OnedCode39Reader::CBC_OnedCode39Reader(FX_BOOL usingCheckDigit,
- FX_BOOL extendedMode) {
- m_extendedMode = extendedMode;
- m_usingCheckDigit = usingCheckDigit;
+ FX_BOOL extendedMode)
+ : m_usingCheckDigit(usingCheckDigit), m_extendedMode(extendedMode) {
}
CBC_OnedCode39Reader::~CBC_OnedCode39Reader() {}
CFX_ByteString CBC_OnedCode39Reader::DecodeRow(int32_t rowNumber,
|