Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Unified Diff: xfa/fxbarcode/oned/BC_OneDimReader.cpp

Issue 1998873002: Clean up XFA code which causes warnings (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: address comments Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: xfa/fxbarcode/oned/BC_OneDimReader.cpp
diff --git a/xfa/fxbarcode/oned/BC_OneDimReader.cpp b/xfa/fxbarcode/oned/BC_OneDimReader.cpp
index 5187c34af94ae57b471246b15bda550e7c1e7b69..a1cfc9b492fabb1f776c5a6dfc20f53960dce481 100644
--- a/xfa/fxbarcode/oned/BC_OneDimReader.cpp
+++ b/xfa/fxbarcode/oned/BC_OneDimReader.cpp
@@ -211,9 +211,7 @@ int32_t CBC_OneDimReader::DecodeDigit(CBC_CommonBitArray* row,
}
if (bestMatch >= 0) {
return bestMatch;
- } else {
- e = BCExceptionNotFound;
- return 0;
}
+ e = BCExceptionNotFound;
return 0;
}
« no previous file with comments | « xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp ('k') | xfa/fxbarcode/oned/BC_OnedCode128Reader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698