summaryrefslogtreecommitdiff
path: root/xfa/fxbarcode/oned/BC_OnedUPCAReader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxbarcode/oned/BC_OnedUPCAReader.cpp')
-rw-r--r--xfa/fxbarcode/oned/BC_OnedUPCAReader.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/xfa/fxbarcode/oned/BC_OnedUPCAReader.cpp b/xfa/fxbarcode/oned/BC_OnedUPCAReader.cpp
index 50a8fbb2f9..eb197b916c 100644
--- a/xfa/fxbarcode/oned/BC_OnedUPCAReader.cpp
+++ b/xfa/fxbarcode/oned/BC_OnedUPCAReader.cpp
@@ -89,9 +89,7 @@ CFX_ByteString CBC_OnedUPCAReader::MaybeReturnResult(CFX_ByteString& result,
if (result[0] == '0') {
result.Delete(0);
return result;
- } else {
- e = BCExceptionFormatException;
- return "";
}
+ e = BCExceptionFormatException;
return "";
}