summaryrefslogtreecommitdiff
path: root/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-02-25 12:08:02 -0800
committerLei Zhang <thestig@chromium.org>2016-02-25 12:08:02 -0800
commit6941d29a825a815bebf93e07c3f2e2274399c7a4 (patch)
tree222d611e79399d49dce45be9bbb1e0bd0efbfcb3 /xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp
parent6b7b5a52f42aa9b37be5307915885d5f4566c326 (diff)
downloadpdfium-6941d29a825a815bebf93e07c3f2e2274399c7a4.tar.xz
Remove set but unsed variables.
And other nearby dead code. R=dsinclair@chromium.org Review URL: https://codereview.chromium.org/1740613002 .
Diffstat (limited to 'xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp')
-rw-r--r--xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp b/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp
index 5f0ad98d65..689cf4c87e 100644
--- a/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp
+++ b/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp
@@ -67,7 +67,6 @@ CFX_ByteString CBC_OnedCode39Reader::DecodeRow(int32_t rowNumber,
CFX_Int32Array counters;
counters.SetSize(9);
FX_CHAR decodedChar;
- int32_t lastStart;
do {
RecordPattern(row, nextStart, &counters, e);
BC_EXCEPTION_CHECK_ReturnValue(e, "");
@@ -79,7 +78,6 @@ CFX_ByteString CBC_OnedCode39Reader::DecodeRow(int32_t rowNumber,
decodedChar = PatternToChar(pattern, e);
BC_EXCEPTION_CHECK_ReturnValue(e, "");
result += decodedChar;
- lastStart = nextStart;
for (int32_t i = 0; i < counters.GetSize(); i++) {
nextStart += counters[i];
}