Index: xfa/fxbarcode/common/BC_CommonECI.cpp |
diff --git a/xfa/fxbarcode/common/BC_CommonECI.cpp b/xfa/fxbarcode/common/BC_CommonECI.cpp |
index 4e37aec566bd852320bb9f91a48e42909ec66c93..30d21310f47c4ae422bbd4f069fb4f102602c332 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; |
} |