summaryrefslogtreecommitdiff
path: root/xfa/src/fxbarcode/oned/BC_OnedCode128Writer.cpp
diff options
context:
space:
mode:
authorJun Fang <jun_fang@foxitsoftware.com>2015-11-03 19:01:30 -0800
committerJun Fang <jun_fang@foxitsoftware.com>2015-11-03 19:01:30 -0800
commit4a8eeb74d38a1589c21ec06b68262d7795dd8f71 (patch)
tree9a78f3fb9223adf2a3d26eb972da4461c3d22b5f /xfa/src/fxbarcode/oned/BC_OnedCode128Writer.cpp
parent844ccfeab312ed294059de94118a40336df875d7 (diff)
downloadpdfium-4a8eeb74d38a1589c21ec06b68262d7795dd8f71.tar.xz
Remove unused variables
BUG=pdfium:261 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1413343003 .
Diffstat (limited to 'xfa/src/fxbarcode/oned/BC_OnedCode128Writer.cpp')
-rw-r--r--xfa/src/fxbarcode/oned/BC_OnedCode128Writer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/xfa/src/fxbarcode/oned/BC_OnedCode128Writer.cpp b/xfa/src/fxbarcode/oned/BC_OnedCode128Writer.cpp
index 2c30024dd1..bdea697841 100644
--- a/xfa/src/fxbarcode/oned/BC_OnedCode128Writer.cpp
+++ b/xfa/src/fxbarcode/oned/BC_OnedCode128Writer.cpp
@@ -145,7 +145,6 @@ FX_BOOL CBC_OnedCode128Writer::IsDigits(const CFX_ByteString& contents,
uint8_t* CBC_OnedCode128Writer::Encode(const CFX_ByteString& contents,
int32_t& outLength,
int32_t& e) {
- int32_t length = contents.GetLength();
if (contents.GetLength() < 1 || contents.GetLength() > 80) {
e = BCExceptionContentsLengthShouldBetween1and80;
return NULL;