summaryrefslogtreecommitdiff
path: root/xfa/fxbarcode/qrcode/BC_QRCodeWriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxbarcode/qrcode/BC_QRCodeWriter.cpp')
-rw-r--r--xfa/fxbarcode/qrcode/BC_QRCodeWriter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxbarcode/qrcode/BC_QRCodeWriter.cpp b/xfa/fxbarcode/qrcode/BC_QRCodeWriter.cpp
index 617dd17ff7..8a6499cbb7 100644
--- a/xfa/fxbarcode/qrcode/BC_QRCodeWriter.cpp
+++ b/xfa/fxbarcode/qrcode/BC_QRCodeWriter.cpp
@@ -85,8 +85,7 @@ uint8_t* CBC_QRCodeWriter::Encode(const CFX_WideString& contents,
break;
default: {
e = BCExceptionUnSupportEclevel;
- if (e != BCExceptionNO)
- return nullptr;
+ return nullptr;
}
}
CBC_QRCoder qr;