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

Unified Diff: core/fxcodec/codec/fx_codec_fax.cpp

Issue 2027273002: Fix all the code which has duplicate variable declarations (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: rebase 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
« no previous file with comments | « core/fpdftext/fpdf_text_int.cpp ('k') | core/fxge/dib/fx_dib_composite.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxcodec/codec/fx_codec_fax.cpp
diff --git a/core/fxcodec/codec/fx_codec_fax.cpp b/core/fxcodec/codec/fx_codec_fax.cpp
index 97b7ee2ad6e545869b4ae5494a21fd2350402424..59010391c56930d5438b6030d138e18265cf373a 100644
--- a/core/fxcodec/codec/fx_codec_fax.cpp
+++ b/core/fxcodec/codec/fx_codec_fax.cpp
@@ -359,16 +359,16 @@ FX_BOOL FaxG4GetRow(const uint8_t* src_buf,
if (bitpos >= bitsize) {
return FALSE;
}
- FX_BOOL bit1 = NEXTBIT;
+ FX_BOOL next_bit1 = NEXTBIT;
if (bitpos >= bitsize) {
return FALSE;
}
- FX_BOOL bit2 = NEXTBIT;
- if (bit1 && bit2) {
+ FX_BOOL next_bit2 = NEXTBIT;
+ if (next_bit1 && next_bit2) {
v_delta = 2;
- } else if (bit1) {
+ } else if (next_bit1) {
v_delta = -2;
- } else if (bit2) {
+ } else if (next_bit2) {
if (bitpos >= bitsize) {
return FALSE;
}
« no previous file with comments | « core/fpdftext/fpdf_text_int.cpp ('k') | core/fxge/dib/fx_dib_composite.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698