summaryrefslogtreecommitdiff
path: root/xfa/fxbarcode/common/BC_CommonECI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxbarcode/common/BC_CommonECI.cpp')
-rw-r--r--xfa/fxbarcode/common/BC_CommonECI.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/xfa/fxbarcode/common/BC_CommonECI.cpp b/xfa/fxbarcode/common/BC_CommonECI.cpp
index 4e37aec566..30d21310f4 100644
--- a/xfa/fxbarcode/common/BC_CommonECI.cpp
+++ b/xfa/fxbarcode/common/BC_CommonECI.cpp
@@ -32,11 +32,7 @@ int32_t CBC_CommonECI::GetValue() {
return m_value;
}
CBC_CommonECI* CBC_CommonECI::GetEICByValue(int32_t value, int32_t& e) {
- if (value < 0 || value > 999999) {
+ if (value < 0 || value > 999999)
e = BCExceptionBadECI;
- return NULL;
- }
- if (value < 900) {
- }
- return NULL;
+ return nullptr;
}