Index: xfa/src/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.cpp |
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.cpp b/xfa/src/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.cpp |
index 19d3f2b411c132661236018f6dc486f1f673ec12..2d1aa433a09ae0b924944078cfeb9c4ef5e591cf 100644 |
--- a/xfa/src/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.cpp |
+++ b/xfa/src/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.cpp |
@@ -73,7 +73,7 @@ CBC_QRAlignmentPattern* CBC_QRAlignmentPatternFinder::Find(int32_t& e) { |
if (FoundPatternCross(stateCount)) { |
CBC_QRAlignmentPattern* confirmed = |
HandlePossibleCenter(stateCount, i, j); |
- if (confirmed != NULL) { |
+ if (confirmed) { |
return confirmed; |
} |
} |
@@ -96,7 +96,7 @@ CBC_QRAlignmentPattern* CBC_QRAlignmentPatternFinder::Find(int32_t& e) { |
if (FoundPatternCross(stateCount)) { |
CBC_QRAlignmentPattern* confirmed = |
HandlePossibleCenter(stateCount, i, maxJ); |
- if (confirmed != NULL) { |
+ if (confirmed) { |
return confirmed; |
} |
} |