mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Issue 1335 remove dead store
git-svn-id: https://zxing.googlecode.com/svn/trunk@2391 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
ea08f0348c
commit
eb0ac26881
|
@ -168,7 +168,6 @@ public final class Decoder {
|
||||||
} else {
|
} else {
|
||||||
if (table == Table.BINARY) {
|
if (table == Table.BINARY) {
|
||||||
if (endIndex - startIndex < 8) {
|
if (endIndex - startIndex < 8) {
|
||||||
end = true;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
code = readCode(correctedBits, startIndex, 8);
|
code = readCode(correctedBits, startIndex, 8);
|
||||||
|
@ -184,7 +183,6 @@ public final class Decoder {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (endIndex - startIndex < size) {
|
if (endIndex - startIndex < size) {
|
||||||
end = true;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -228,7 +228,6 @@ Ref<String> Decoder::getEncodedData(Ref<zxing::BitArray> correctedBits) {
|
||||||
} else {
|
} else {
|
||||||
if (table == BINARY) {
|
if (table == BINARY) {
|
||||||
if (endIndex - startIndex < 8) {
|
if (endIndex - startIndex < 8) {
|
||||||
end = true;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
code = readCode(correctedBits, startIndex, 8);
|
code = readCode(correctedBits, startIndex, 8);
|
||||||
|
@ -243,7 +242,6 @@ Ref<String> Decoder::getEncodedData(Ref<zxing::BitArray> correctedBits) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (endIndex - startIndex < size) {
|
if (endIndex - startIndex < size) {
|
||||||
end = true;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue